win10 64bit. dependencies installed. ffmpeg in PATH. fails installing and immediately closes.
log:
"0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@2.15.1
3 info using node@v4.4.4
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart discord-dj@0.0.5
6 info start discord-dj@0.0.5
7 verbose unsafe-perm in lifecycle true
8 info discord-dj@0.0.5 Failed to exec start script
9 verbose stack Error: discord-dj@0.0.5 start: node ./runtime/DiscordDJ.js
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:827:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid discord-dj@0.0.5
11 verbose cwd C:\Users\johna\Desktop\Discord\djbot
12 error Windows_NT 10.0.10586
13 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
14 error node v4.4.4
15 error npm v2.15.1
16 error code ELIFECYCLE
17 error discord-dj@0.0.5 start: node ./runtime/DiscordDJ.js
17 error Exit status 1
18 error Failed at the discord-dj@0.0.5 start script 'node ./runtime/DiscordDJ.js'.
18 error This is most likely a problem with the discord-dj package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node ./runtime/DiscordDJ.js
18 error You can get information on how to open an issue for this project with:
18 error npm bugs discord-dj
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls discord-dj
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]"
Duplicate of #62
Sorry, since Discord updated and the official API was introduced, DiscordDJ stopped working.
I'll update it to the new API, but it will take time.
win10 64bit. dependencies installed. ffmpeg in PATH. fails installing and immediately closes. log: "0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'start' ] 2 info using npm@2.15.1 3 info using node@v4.4.4 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info prestart discord-dj@0.0.5 6 info start discord-dj@0.0.5 7 verbose unsafe-perm in lifecycle true 8 info discord-dj@0.0.5 Failed to exec start script 9 verbose stack Error: discord-dj@0.0.5 start: (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:827:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid discord-dj@0.0.5
11 verbose cwd C:\Users\johna\Desktop\Discord\djbot
12 error Windows_NT 10.0.10586
13 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
14 error node v4.4.4
15 error npm v2.15.1
16 error code ELIFECYCLE
17 error discord-dj@0.0.5 start:
node ./runtime/DiscordDJ.js
9 verbose stack Exit status 1 9 verbose stack at EventEmitter.node ./runtime/DiscordDJ.js
17 error Exit status 1 18 error Failed at the discord-dj@0.0.5 start script 'node ./runtime/DiscordDJ.js'. 18 error This is most likely a problem with the discord-dj package, 18 error not with npm itself. 18 error Tell the author that this fails on your system: 18 error node ./runtime/DiscordDJ.js 18 error You can get information on how to open an issue for this project with: 18 error npm bugs discord-dj 18 error Or if that isn't available, you can get their info via: 18 error 18 error npm owner ls discord-dj 18 error There is likely additional logging output above. 19 verbose exit [ 1, true ]"