Skip to content
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.

Another error after v0.05 #49

Open
Shirafune9 opened this issue Mar 5, 2016 · 6 comments
Open

Another error after v0.05 #49

Shirafune9 opened this issue Mar 5, 2016 · 6 comments

Comments

@Shirafune9
Copy link

New error after the update, after launching the bot.
http://puu.sh/nvwEU/754aa9ad2c.png

0 info it worked if it ends with ok
1 verbose cli [ 'D:\Programy\node.js\node.exe',
1 verbose cli 'D:\Programy\node.js\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]
6 silly lifecycle [email protected]
prestart: no script for prestart, continuing
7 info lifecycle [email protected]start: [email protected]
8 verbose lifecycle [email protected]
start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]start: PATH: D:\Programy\node.js\node_modules\npm\bin\node-gyp-bin;D:\Instalki\windows-with-ffmpeg\node_modules.bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Skype\Phone;D:\Programy\node.js;C:\Users\malis\AppData\Roaming\npm
10 verbose lifecycle [email protected]
start: CWD: D:\Instalki\windows-with-ffmpeg
11 silly lifecycle [email protected]start: Args: [ '/d /s /c', 'node ./runtime/DiscordDJ.js' ]
12 silly lifecycle [email protected]
start: Returned: code: 1 signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: node ./runtime/DiscordDJ.js
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (D:\Programy\node.js\node_modules\npm\lib\utils\lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess. (D:\Programy\node.js\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:827:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid [email protected]
16 verbose cwd D:\Instalki\windows-with-ffmpeg
17 error Windows_NT 10.0.10586
18 error argv "D:\Programy\node.js\node.exe" "D:\Programy\node.js\node_modules\npm\bin\npm-cli.js" "start"
19 error node v5.7.1
20 error npm v3.6.0
21 error code ELIFECYCLE
22 error [email protected] start: node ./runtime/DiscordDJ.js
22 error Exit status 1
23 error Failed at the [email protected] start script 'node ./runtime/DiscordDJ.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the discord-dj package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node ./runtime/DiscordDJ.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs discord-dj
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls discord-dj
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

@Guichaguri
Copy link
Owner

First of all, how you installed DiscordDJ?
Why it's inside system32?

@Shirafune9
Copy link
Author

Umm... it's in the v0.05 download, there's no discordie in it, there's DiscordDJ. I've done as instructed, don't ask me why does it search for it there or how did it get there.

@Guichaguri
Copy link
Owner

  1. Download DiscordDJ here. You will probably want "windows-with-ffmpeg.zip"
  2. Extract it to an empty directory
  3. Run setup-bot.bat
  4. Run start-bot.bat

Also, don't run the bot as administrator. Node.js doesn't like that for some reason

@Shirafune9
Copy link
Author

My point being, that's exactly what I did.

@Guichaguri
Copy link
Owner

I don't know what is wrong with it. Can you check if lib/Logic/Utils.js exists?

@Shirafune9
Copy link
Author

I checked it when the error popped up, it exists

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants