-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install dependencies #91
Comments
Could you try to force install node-aead-crypto ? We have documented it here: https://github.com/tum-esi/wade#errors-and-known-problems and also at node-wot eclipse-thingweb/node-wot#136 If this is indeed the problem, I will push this troubleshoot somewhere more prominent :) |
Maybe at some point it makes sense to update all these packages. The warning are quite concerning. Especially when we talk about Electron. Looks like there is a native API for these kind of purposes in node these days. /e: Yep, as I guessed. Quite concerning. gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.3.0-22-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/citrullin/git/wade/node_modules/node-aead-crypto
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm notice created a lockfile as package-lock.json. You should commit this file.
+ node-aead-crypto@2.2.0
added 32 packages from 39 contributors and audited 2089 packages in 20.689s
54 packages are looking for funding
run `npm fund` for details
found 3 vulnerabilities (1 low, 1 moderate, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details And also > npm install
> w-ade@0.1.0 postinstall /home/citrullin/git/wade
> electron-builder install-app-deps
sh: 1: electron-builder: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! w-ade@0.1.0 postinstall: `electron-builder install-app-deps`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the w-ade@0.1.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/citrullin/.npm/_logs/2020-09-23T18_36_56_392Z-debug.log Of course I am then not able to build it: npm run electron:build
> w-ade@0.1.0 electron:build /home/citrullin/git/wade
> vue-cli-service electron:build
sh: 1: vue-cli-service: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! w-ade@0.1.0 electron:build: `vue-cli-service electron:build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the w-ade@0.1.0 electron:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/citrullin/.npm/_logs/2020-09-23T18_38_10_241Z-debug.log |
I have tried to understand what is going on. Some possible solutions:
Until I understand how to fix it, you can use the following AppImage Not the most professional way to share binary files probably :) |
Probably not ^^ |
Yes I will be there :) |
So this is fixed via #95 . @Citrullin you can try again |
When executing
npm install
I get the following error.> node --version v12.18.3
> npm --version 6.14.6
> lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan
on commit
82caa3d4a9da5fa6469950acb0b6b8f86a4ad0c7
The text was updated successfully, but these errors were encountered: