Error: Cannot find module './build/Release/memoryjs
Error: Cannot find module './build/Release/memoryjs while doing node .
PS D:\ez> npm run build npm ERR! missing script: build
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\razee\AppData\Roaming\npm-cache_logs\2024-07-24T16_23_48_419Z-debug.log PS D:\ez> cd D:\ez\node_modules\memoryjs PS D:\ez\node_modules\memoryjs> npm run build
[email protected] build D:\ez\node_modules\memoryjs node ./scripts/install.js
Node architecture is x64: running "npm.cmd run build64"
[email protected] build64 D:\ez\node_modules\memoryjs node-gyp clean configure build --arch=x64
D:\ez\node_modules\memoryjs>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" clean configure build --arch=x64 ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" clean configure build --arch=x64 )
Traceback (most recent call last):
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 50, in gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.22631
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "clean" "configure" "build" "--arch=x64"
gyp ERR! cwd D:\ez\node_modules\memoryjs
gyp ERR! node -v v14.15.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build64: node-gyp clean configure build --arch=x64
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build64 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\razee\AppData\Roaming\npm-cache_logs\2024-07-24T16_25_42_302Z-debug.log Script "npm.cmd run build64" exited with 1 PS D:\ez\node_modules\memoryjs>