986 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
229
views
Error during npm install of node-pty: MSB8040 Spectre-mitigated libraries required
I'm encountering an error while trying to install the node-pty package using npm. I followed the standard installation process, but I ran into an issue during the build phase that involves node-gyp.
...
0
votes
0
answers
76
views
npm install error related to Python and certificate.pem during node-sass installation
I'm having trouble installing node modules for my e-commerce site project. I've encountered various errors, including Python updates, SSH keys, and "operation not permitted" issues. I've ...
0
votes
1
answer
194
views
NixOS: Installing a package which uses `prebuild-install` in `mkDerivation` with PNPM
I want to install a javascript application on nixos that uses better-sqlite3 as a dependency, using pnpm as a package manager. better-sqlite3 uses prebuild-install, which downloads pre-compiled ...
0
votes
0
answers
398
views
Can I use uv to replace Pyenv for my JavaScript project that depends on node-gyp?
I have a Node.js project that depends on node-canvas, which in turn depends on node-gyp. If I start with a fresh clone of my project and try to install my project dependencies from npm using the yarn ...
0
votes
0
answers
71
views
Working with node-gyp and C++, is there a way to make a dependency on a particular library optional?
Automatically optional too, simply by testing for the presence of the library, avoiding making the user pass arguments or define environment variables or the like.
I'm working on making a Raspberry Pi ...
1
vote
1
answer
299
views
stack Error: Could not find any Visual Studio installation to use even after upgrading node-gyp and installing vs code tool
I have already followed this link node-gyp upgrade and upgraded it to 11.0.0 . But still getting this error when trying to run npm install. stack Error: Could not find any Visual Studio installation ...
0
votes
0
answers
41
views
node-gyp using wrong python2 code when I have python3 installed
when I tell node to use python 3 I get the following output
bigproj % npm install --python=/opt/homebrew/bin/python3
npm WARN deprecated [email protected]: Node Sass is no longer supported. Please use `...
0
votes
2
answers
463
views
Error: Could not find any Visual Studio installation to use when building node-sass with node-gyp on Windows
I'm trying to install dependencies for a frontend project from GitHub, but I keep encountering the same error during installation.
The error that keeps occurring
PS C:\Users\User\Desktop\...
0
votes
1
answer
198
views
node-gyp fails with parsing vs version: undefined
I have installed VS2022 (v17.12.3) with the build tools v14.42.34433. I am using the latest node-gyp v11 to install and compile a few native dependencies.
For me this stands out:
find VS unknown ...
0
votes
1
answer
311
views
Failed to rebuild and start electron app using nodejs v18.20.3
i've electron app that currently running using elecron forge.
the issue is appear whenever i tried to start the project using command
npm run start
It will not working, if i have dependencies on ...
3
votes
2
answers
2k
views
How can I specify architecture specific npm packages in package-lock.json?
I am developing on Windows and have a CI pipeline in a linux container on GitLab. I can build my Angular application on both systems successfully as long as I do not commit the package-lock.json file.
...
0
votes
1
answer
277
views
Error while building node-sass: ModuleNotFoundError: No module named 'distutils'
I'm encountering an error while trying to build my project using npm install. The error message I'm getting is:
npm ERR! code 1 npm ERR! path C:\Users\user\Desktop\my_project\client\node_modules\node-...
0
votes
1
answer
84
views
Agora On-Premise-Recording-Nodejs build.sh Error in Dockerfile
I'm encountering build issues with Agora's On-Premise-Recording-Nodejs in a Dockerfile setup. The build.sh script throws multiple C++ warnings related to variable initialization order in ...
1
vote
0
answers
65
views
Error loading a C++ addon (.node file) in a NodeJS application
I have a Visual Studio project that generates a C++ addon (.node file). When I try to load this node addon in a Node.js application, I get the following error:
{code: 'ERR_DLOPEN_FAILED', stack: '...
0
votes
1
answer
333
views
More verbose output of native module build phase during yarn install
My yarn install --frozen-lockfile --verbose is getting hung at what seems to be the native module/gyp build phase and I can't figure out why.
I've tried export npm_config_loglevel=verbose before ...