Followed the instructions, forked the repo and cloned it, installed npm, and got an error. It said to tell you what I told you in the subject line and to attach npm-debug.log. I don't know how to attach files to issues and the file is short so I'm just copy pasting it here:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'serve' ]
2 info using npm@3.5.2
3 info using node@v8.10.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle workshop@~preserve: workshop@
6 silly lifecycle workshop@~preserve: no script for preserve, continuing
7 info lifecycle workshop@~serve: workshop@
8 verbose lifecycle workshop@~serve: unsafe-perm in lifecycle true
9 verbose lifecycle workshop@~serve: PATH: /usr/share/npm/bin/node-gyp-bin:/media/mstarr/Elements/computer stuff/mozilla/photon/photon/node_modules/.bin:/home/mstarr/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
10 verbose lifecycle workshop@~serve: CWD: /media/mstarr/Elements/computer stuff/mozilla/photon/photon
11 silly lifecycle workshop@~serve: Args: [ '-c',
11 silly lifecycle 'docker exec -it photon jekyll serve --watch --host=0.0.0.0' ]
12 info lifecycle workshop@~serve: Failed to exec serve script
13 verbose stack Error: workshop@ serve: docker exec -it photon jekyll serve --watch --host=0.0.0.0
13 verbose stack spawn ENOENT
13 verbose stack at ChildProcess. (/usr/share/npm/lib/utils/spawn.js:17:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid workshop@
15 verbose cwd /media/mstarr/Elements/computer stuff/mozilla/photon/photon
16 error Linux 5.3.0-51-generic
17 error argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
18 error node v8.10.0
19 error npm v3.5.2
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error workshop@ serve: docker exec -it photon jekyll serve --watch --host=0.0.0.0
24 error spawn ENOENT
25 error Failed at the workshop@ serve script 'docker exec -it photon jekyll serve --watch --host=0.0.0.0'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the workshop package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error docker exec -it photon jekyll serve --watch --host=0.0.0.0
25 error You can get information on how to open an issue for this project with:
25 error npm bugs workshop
25 error Or if that isn't available, you can get their info via:
25 error npm owner ls workshop
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]
Followed the instructions, forked the repo and cloned it, installed npm, and got an error. It said to tell you what I told you in the subject line and to attach npm-debug.log. I don't know how to attach files to issues and the file is short so I'm just copy pasting it here:
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'serve' ] 2 info using npm@3.5.2 3 info using node@v8.10.0 4 verbose run-script [ 'preserve', 'serve', 'postserve' ] 5 info lifecycle workshop@~preserve: workshop@ 6 silly lifecycle workshop@~preserve: no script for preserve, continuing 7 info lifecycle workshop@~serve: workshop@ 8 verbose lifecycle workshop@~serve: unsafe-perm in lifecycle true 9 verbose lifecycle workshop@~serve: PATH: /usr/share/npm/bin/node-gyp-bin:/media/mstarr/Elements/computer stuff/mozilla/photon/photon/node_modules/.bin:/home/mstarr/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 10 verbose lifecycle workshop@~serve: CWD: /media/mstarr/Elements/computer stuff/mozilla/photon/photon 11 silly lifecycle workshop@~serve: Args: [ '-c', 11 silly lifecycle 'docker exec -it photon jekyll serve --watch --host=0.0.0.0' ] 12 info lifecycle workshop@~serve: Failed to exec serve script 13 verbose stack Error: workshop@ serve: (/usr/share/npm/lib/utils/spawn.js:17:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid workshop@
15 verbose cwd /media/mstarr/Elements/computer stuff/mozilla/photon/photon
16 error Linux 5.3.0-51-generic
17 error argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
18 error node v8.10.0
19 error npm v3.5.2
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error workshop@ serve:
docker exec -it photon jekyll serve --watch --host=0.0.0.0
13 verbose stack spawn ENOENT 13 verbose stack at ChildProcess.docker exec -it photon jekyll serve --watch --host=0.0.0.0
24 error spawn ENOENT 25 error Failed at the workshop@ serve script 'docker exec -it photon jekyll serve --watch --host=0.0.0.0'. 25 error Make sure you have the latest version of node.js and npm installed. 25 error If you do, this is most likely a problem with the workshop package, 25 error not with npm itself. 25 error Tell the author that this fails on your system: 25 error docker exec -it photon jekyll serve --watch --host=0.0.0.0 25 error You can get information on how to open an issue for this project with: 25 error npm bugs workshop 25 error Or if that isn't available, you can get their info via: 25 error npm owner ls workshop 25 error There is likely additional logging output above. 26 verbose exit [ 1, true ]Linux Ubuntu Bionic (18.04) 64 bit.