Closed Groschenroman closed 5 years ago
I'm testing the branch on the production server, but
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Linux 4.9.0-0.bpo.3-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/krgo/invi.sible.link/campaigns/krgotrex/node_modules/inotify
gyp ERR! node -v v10.14.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
probably I have to downgrade node version? before we were using the 8.x
Tested on my development computer and works well, just I still have to figure why do not work in production (likely, the issue is somewhere else)
krgo@exposed:~/invi.sible.link/campaigns/krgotrex$ npm install --only=dev
> node-sass@4.11.0 install /home/krgo/invi.sible.link/campaigns/krgotrex/node_modules/node-sass
> node scripts/install.js
internal/modules/cjs/loader.js:582
throw err;
^
Error: Cannot find module 'npmlog'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/home/krgo/invi.sible.link/campaigns/krgotrex/node_modules/node-sass/scripts/install.js:11:9)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
npm WARN foundation-sites@6.5.1 requires a peer of jquery@>=2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN foundation-sites@6.5.1 requires a peer of what-input@>=4.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.11.0 (node_modules/node-sass):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.11.0 install: `node scripts/install.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
audited 1180 packages in 6.013s
found 0 vulnerabilities
Solves #20