Tried docker build according to instructions, and it did not worked for me (Windows 10 WSL2):
PS D:\projects\games\NotRanged.github.io> docker build -f Dockerfile.dev -t ffxiv-craft-opt-web-dev .
[+] Building 41.7s (6/6) FINISHED
=> [internal] load build definition from Dockerfile.dev 0.2s
=> => transferring dockerfile: 134B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 47B 0.0s
=> [internal] load metadata for docker.io/library/node:4 5.7s
=> [1/2] FROM docker.io/library/node:4@sha256:fab73fccce5abc3fade13a99179884a306aa6c5292a2fc11833ee25ca15c1f85 33.5s
=> => resolve docker.io/library/node:4@sha256:fab73fccce5abc3fade13a99179884a306aa6c5292a2fc11833ee25ca15c1f85 0.0s
=> => sha256:3d77ce4481b119f00e53bee9b4a443469c42c224db954ddaa2e6b74cd73cd5d0 54.26MB / 54.26MB 14.1s
=> => sha256:d562b1c3ac3f8e29c94c8c31142f96c548bada88cc683404805f5d81c3991f34 43.25MB / 43.25MB 13.9s
=> => sha256:41d0ad2557ea2a9e57e1a458c1d659e92f601586e07dcffef74c9cef542f6f6e 2.01kB / 2.01kB 0.0s
=> => sha256:ef4b194d8fcf4fedc96adf4d99f136f5a31ee2cd38561f7a2e4af1b036b4bf69 7.17kB / 7.17kB 0.0s
=> => sha256:fab73fccce5abc3fade13a99179884a306aa6c5292a2fc11833ee25ca15c1f85 1.73kB / 1.73kB 0.0s
=> => sha256:534514c83d698ad8a2ef994eeedaed92738e401d735e453d47e635cca02901b6 17.58MB / 17.58MB 5.5s
=> => sha256:4b85e68dc01d5ba298262148a77051ac4a8c8a1e138c678682a5dae241ae4db9 131.08MB / 131.08MB 25.9s
=> => sha256:f6a66c5de9dbb091030da992eb589991771342d2c533146e682425e3986e2b20 4.42kB / 4.42kB 15.9s
=> => sha256:7a4e7d9a081d8b9504e94524205815677508c75739a9ad82ef94591b3a767335 117.62kB / 117.62kB 16.6s
=> => extracting sha256:3d77ce4481b119f00e53bee9b4a443469c42c224db954ddaa2e6b74cd73cd5d0 4.3s
=> => sha256:876b13112871a940a632a8e7178ffd1021950f5031a3e2d720d819182c7afd10 12.35MB / 12.35MB 20.6s
=> => sha256:95d109ce6b5dd7bdbfe861e463c749aae30fb268f52fab41fe3c706263410458 1.06MB / 1.06MB 17.7s
=> => extracting sha256:534514c83d698ad8a2ef994eeedaed92738e401d735e453d47e635cca02901b6 1.2s
=> => extracting sha256:d562b1c3ac3f8e29c94c8c31142f96c548bada88cc683404805f5d81c3991f34 3.8s
=> => extracting sha256:4b85e68dc01d5ba298262148a77051ac4a8c8a1e138c678682a5dae241ae4db9 5.7s
=> => extracting sha256:f6a66c5de9dbb091030da992eb589991771342d2c533146e682425e3986e2b20 0.0s
=> => extracting sha256:7a4e7d9a081d8b9504e94524205815677508c75739a9ad82ef94591b3a767335 0.0s
=> => extracting sha256:876b13112871a940a632a8e7178ffd1021950f5031a3e2d720d819182c7afd10 1.0s
=> => extracting sha256:95d109ce6b5dd7bdbfe861e463c749aae30fb268f52fab41fe3c706263410458 0.1s
=> [2/2] WORKDIR /usr/src/app 2.2s
=> exporting to image 0.1s
=> => exporting layers 0.1s
=> => writing image sha256:49adbf6df8c011d6257a9b5721064a206eb495ed04b30169eac8c836762c651b 0.0s
=> => naming to docker.io/library/ffxiv-craft-opt-web-dev 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
PS D:\projects\games\NotRanged.github.io> docker run --rm -it -p 8001:8001 ffxiv-craft-opt-web-dev
npm ERR! Linux 5.10.60.1-microsoft-standard-WSL2
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.9.1
npm ERR! npm v2.15.11
npm ERR! path /usr/src/app/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /usr/src/app/npm-debug.log
PS D:\projects\games\NotRanged.github.io>
Possibly instruction should be clarified. Also, I've tried non-dev docker on the same environment, and it failed:
=> ERROR [3/1] RUN npm install && npm cache clean --force 28.9s
------
> [3/1] RUN npm install && npm cache clean --force:
#7 1.022 npm WARN package.json [email protected] No README data
#7 1.028 npm WARN package.json [email protected] No license field.
#7 3.475 npm WARN engine [email protected]: wanted: {"node":">= 8.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 8.906 npm WARN engine [email protected]: wanted: {"node":">= 8.10.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 8.907 npm WARN engine [email protected]: wanted: {"node":">=8.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 8.908 npm WARN engine [email protected]: wanted: {"node":">=8.6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 8.908 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 8.915 npm WARN engine [email protected]: wanted: {"node":">=8.3.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 8.915 npm WARN engine [email protected]: wanted: {"node":">=8.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 9.705 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
#7 10.21 npm WARN engine [email protected]: wanted: {"node":">=8.6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.21 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.64 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.64 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.64 npm WARN engine [email protected]: wanted: {"node":">= 8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.64 npm WARN engine [email protected]: wanted: {"node":">= 6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.64 npm WARN engine [email protected]: wanted: {"node":">=8.10.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.64 npm WARN engine [email protected]: wanted: {"node":"^8.16.0 || ^10.6.0 || >=11.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 10.66 npm WARN optional dep failed, continuing [email protected]
#7 11.39 npm WARN engine [email protected]: wanted: {"node":">=8.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 11.44 npm WARN engine [email protected]: wanted: {"node":">=6.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 11.44 npm WARN engine [email protected]: wanted: {"node":">=12"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 11.67 npm WARN engine [email protected]: wanted: {"node":">=8.6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 11.67 npm WARN engine [email protected]: wanted: {"node":">=8.6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 12.08 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 12.34 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 12.34 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.37 npm WARN engine [email protected]: wanted: {"node":">=8.3.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.38 npm WARN engine [email protected]: wanted: {"node":">=8.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.38 npm WARN engine [email protected]: wanted: {"node":">=8.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.57 npm WARN engine [email protected]: wanted: {"node":"6.* || 8.* || >= 10.*"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.57 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.57 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 14.57 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.56 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.57 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.64 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.64 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.67 npm WARN peerDependencies The peer dependency bufferutil@^4.0.1 included from ws will no
#7 15.67 npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
#7 15.67 npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
#7 15.67 npm WARN peerDependencies The peer dependency utf-8-validate@^5.0.2 included from ws will no
#7 15.67 npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
#7 15.67 npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
#7 15.69 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.70 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 15.71 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.54 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.54 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.73 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.75 npm WARN engine [email protected]: wanted: {"node":">=6.14.2"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.75 npm WARN engine [email protected]: wanted: {"node":">=6.14.2"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.81 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.82 npm WARN engine [email protected]: wanted: {"node":"6.* || 8.* || >= 10.*"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.82 npm WARN engine [email protected]: wanted: {"node":">=10"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.82 npm WARN engine [email protected]: wanted: {"node":">=10"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.82 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 16.84 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.31 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.31 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.50 npm WARN engine [email protected]: wanted: {"node":">=7.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.56 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.56 npm WARN engine [email protected]: wanted: {"node":">=10"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.72 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.83 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.84 npm WARN engine [email protected]: wanted: {"node":">=8"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 17.99 npm WARN engine [email protected]: wanted: {"node":">=7.0.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 18.08
#7 18.08 > [email protected] install /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/bufferutil
#7 18.08 > node-gyp-build
#7 18.08
#7 20.22 make: Entering directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/bufferutil/build'
#7 20.22 CC(target) Release/obj.target/bufferutil/src/bufferutil.o
#7 20.24 ../src/bufferutil.c:3:22: fatal error: node_api.h: No such file or directory
#7 20.24 #include <node_api.h>
#7 20.24 ^
#7 20.24 compilation terminated.
#7 20.26 make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
#7 20.26 bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
#7 20.26 make: Leaving directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/bufferutil/build'
#7 20.26 gyp ERR! build error
#7 20.27 gyp ERR! stack Error: `make` failed with exit code: 2
#7 20.27 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
#7 20.27 gyp ERR! stack at emitTwo (events.js:87:13)
#7 20.27 gyp ERR! stack at ChildProcess.emit (events.js:172:7)
#7 20.27 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
#7 20.27 gyp ERR! System Linux 5.10.60.1-microsoft-standard-WSL2
#7 20.27 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#7 20.27 gyp ERR! cwd /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/bufferutil
#7 20.27 gyp ERR! node -v v4.9.1
#7 20.27 gyp ERR! node-gyp -v v3.4.0
#7 20.28 gyp ERR! not ok
#7 20.28 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 20.28 npm WARN engine [email protected]: wanted: {"node":">=6"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 20.29
#7 20.29 > [email protected] install /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate
#7 20.29 > node-gyp-build
#7 20.29
#7 21.23 make: Entering directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate/build'
#7 21.24 CC(target) Release/obj.target/validation/src/validation.o
#7 21.26 ../src/validation.c:4:22: fatal error: node_api.h: No such file or directory
#7 21.26 #include <node_api.h>
#7 21.26 ^
#7 21.26 compilation terminated.
#7 21.30 validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
#7 21.30 make: Leaving directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate/build'
#7 21.30 make: *** [Release/obj.target/validation/src/validation.o] Error 1
#7 21.30 gyp ERR! build error
#7 21.31 gyp ERR! stack Error: `make` failed with exit code: 2
#7 21.31 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
#7 21.31 gyp ERR! stack at emitTwo (events.js:87:13)
#7 21.31 gyp ERR! stack at ChildProcess.emit (events.js:172:7)
#7 21.31 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
#7 21.31 gyp ERR! System Linux 5.10.60.1-microsoft-standard-WSL2
#7 21.31 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#7 21.31 gyp ERR! cwd /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate
#7 21.31 gyp ERR! node -v v4.9.1
#7 21.31 gyp ERR! node-gyp -v v3.4.0
#7 21.31 gyp ERR! not ok
#7 22.47 npm WARN engine [email protected]: wanted: {"node":">=8.3.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 22.47 npm WARN engine [email protected]: wanted: {"node":">=8.3.0"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 22.92 npm WARN engine [email protected]: wanted: {"node":">=6.14.2"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 22.93 npm WARN engine [email protected]: wanted: {"node":">=6.14.2"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 22.93 npm WARN engine [email protected]: wanted: {"node":">=6.14.2"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 22.93 npm WARN engine [email protected]: wanted: {"node":">=6.14.2"} (current: {"node":"4.9.1","npm":"2.15.11"})
#7 23.22
#7 23.22 > [email protected] install /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate
#7 23.22 > node-gyp-build
#7 23.22
#7 24.18 make: Entering directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate/build'
#7 24.18 CC(target) Release/obj.target/validation/src/validation.o
#7 24.21 ../src/validation.c:4:22: fatal error: node_api.h: No such file or directory
#7 24.21 #include <node_api.h>
#7 24.21 ^
#7 24.21 compilation terminated.
#7 24.26 validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
#7 24.27 make: *** [Release/obj.target/validation/src/validation.o] Error 1
#7 24.27 make: Leaving directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate/build'
#7 24.27 gyp ERR! build error
#7 24.28 gyp ERR! stack Error: `make` failed with exit code: 2
#7 24.28 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
#7 24.28 gyp ERR! stack at emitTwo (events.js:87:13)
#7 24.28 gyp ERR! stack at ChildProcess.emit (events.js:172:7)
#7 24.28 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
#7 24.28 gyp ERR! System Linux 5.10.60.1-microsoft-standard-WSL2
#7 24.28 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#7 24.28 gyp ERR! cwd /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate
#7 24.28 gyp ERR! node -v v4.9.1
#7 24.28 gyp ERR! node-gyp -v v3.4.0
#7 24.28 gyp ERR! not ok
#7 24.28
#7 24.28 > [email protected] install /usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate
#7 24.28 > node-gyp-build
#7 24.28
#7 25.19 make: Entering directory '/usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate/build'
#7 25.20 CC(target) Release/obj.target/validation/src/validation.o
#7 25.23 ../src/validation.c:4:22: fatal error: node_api.h: No such file or directory
#7 25.23 #include <node_api.h>
#7 25.23 ^
#7 25.23 compilation terminated.
#7 25.30 validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
#7 25.30 make: Leaving directory '/usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate/build'
#7 25.30 make: *** [Release/obj.target/validation/src/validation.o] Error 1
#7 25.30 gyp ERR! build error
#7 25.30 gyp ERR! stack Error: `make` failed with exit code: 2
#7 25.30 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
#7 25.30 gyp ERR! stack at emitTwo (events.js:87:13)
#7 25.30 gyp ERR! stack at ChildProcess.emit (events.js:172:7)
#7 25.30 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
#7 25.30 gyp ERR! System Linux 5.10.60.1-microsoft-standard-WSL2
#7 25.30 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#7 25.30 gyp ERR! cwd /usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/utf-8-validate
#7 25.31 gyp ERR! node -v v4.9.1
#7 25.31 gyp ERR! node-gyp -v v3.4.0
#7 25.31 gyp ERR! not ok
#7 25.32
#7 25.32 > [email protected] install /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil
#7 25.32 > node-gyp-build
#7 25.32
#7 26.20 make: Entering directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil/build'
#7 26.21 CC(target) Release/obj.target/bufferutil/src/bufferutil.o
#7 26.23 ../src/bufferutil.c:3:22: fatal error: node_api.h: No such file or directory
#7 26.23 #include <node_api.h>
#7 26.23 ^
#7 26.23 compilation terminated.
#7 26.26 bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
#7 26.26 make: Leaving directory '/usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil/build'
#7 26.26 make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
#7 26.26 gyp ERR! build error
#7 26.27 gyp ERR! stack Error: `make` failed with exit code: 2
#7 26.27 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
#7 26.27 gyp ERR! stack at emitTwo (events.js:87:13)
#7 26.27 gyp ERR! stack at ChildProcess.emit (events.js:172:7)
#7 26.27 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
#7 26.27 gyp ERR! System Linux 5.10.60.1-microsoft-standard-WSL2
#7 26.27 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#7 26.27 gyp ERR! cwd /usr/src/app/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil
#7 26.27 gyp ERR! node -v v4.9.1
#7 26.27 gyp ERR! node-gyp -v v3.4.0
#7 26.27 gyp ERR! not ok
#7 26.28
#7 26.28 > [email protected] install /usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil
#7 26.28 > node-gyp-build
#7 26.28
#7 27.07 make: Entering directory '/usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil/build'
#7 27.08 CC(target) Release/obj.target/bufferutil/src/bufferutil.o
#7 27.09 ../src/bufferutil.c:3:22: fatal error: node_api.h: No such file or directory
#7 27.09 #include <node_api.h>
#7 27.09 ^
#7 27.09 compilation terminated.
#7 27.12 make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
#7 27.12 bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
#7 27.12 make: Leaving directory '/usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil/build'
#7 27.12 gyp ERR! build error
#7 27.12 gyp ERR! stack Error: `make` failed with exit code: 2
#7 27.12 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
#7 27.12 gyp ERR! stack at emitTwo (events.js:87:13)
#7 27.12 gyp ERR! stack at ChildProcess.emit (events.js:172:7)
#7 27.13 gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
#7 27.13 gyp ERR! System Linux 5.10.60.1-microsoft-standard-WSL2
#7 27.13 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#7 27.13 gyp ERR! cwd /usr/src/app/node_modules/browser-sync/node_modules/browser-sync-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/bufferutil
#7 27.13 gyp ERR! node -v v4.9.1
#7 27.13 gyp ERR! node-gyp -v v3.4.0
#7 27.13 gyp ERR! not ok
#7 27.13 npm ERR! Linux 5.10.60.1-microsoft-standard-WSL2
#7 27.13 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
#7 27.13 npm ERR! node v4.9.1
#7 27.13 npm ERR! npm v2.15.11
#7 27.13 npm ERR! code ELIFECYCLE
#7 27.13
#7 27.13 npm ERR! [email protected] install: `node-gyp-build`
#7 27.14 npm ERR! Exit status 1
#7 27.14 npm ERR!
#7 27.14 npm ERR! Failed at the [email protected] install script 'node-gyp-build'.
#7 27.14 npm ERR! This is most likely a problem with the bufferutil package,
#7 27.14 npm ERR! not with npm itself.
#7 27.14 npm ERR! Tell the author that this fails on your system:
#7 27.14 npm ERR! node-gyp-build
#7 27.14 npm ERR! You can get information on how to open an issue for this project with:
#7 27.14 npm ERR! npm bugs bufferutil
#7 27.14 npm ERR! Or if that isn't available, you can get their info via:
#7 27.14 npm ERR!
#7 27.14 npm ERR! npm owner ls bufferutil
#7 27.14 npm ERR! There is likely additional logging output above.
#7 28.76
#7 28.76 npm ERR! Please include the following file with any support request:
#7 28.76 npm ERR! /usr/src/app/npm-debug.log
------
executor failed running [/bin/sh -c npm install && npm cache clean --force]: exit code: 1
PS D:\projects\games\NotRanged.github.io>