Skip to content
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

Error for npm install #1

Open
Raj123456788 opened this issue Oct 21, 2020 · 1 comment
Open

Error for npm install #1

Raj123456788 opened this issue Oct 21, 2020 · 1 comment

Comments

@Raj123456788
Copy link

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-gtk@0.4.0 install: if [ "$(uname)" = "Darwin" ] && [ "$(which brew)" != "" ]; then export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig; fi; node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-gtk@0.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@wotzlaff
Copy link
Owner

Thanks for trying.

The problem comes from the installation of node-gtk. Probably you are trying to use the package under Windows, but it is currentliy not supported, see romgrk/node-gtk#107. Actually, one could get it working on Windows as the issue is still open. If you really need to run it there are two options: Try to get issue romgrk/node-gtk#107 fixed or use another operating system.
You could also try to use WSL to install the package under Windows (in some sense). However, this basically requires the full linux setup.

Feel free to ask if you need any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants