5,422 questions
-1
votes
0
answers
38
views
Work with npm local packages in NextJS project
I need to work with a local package with my next.JS project. To avoid publishing on npm every time :
- On the next.js project: npm i ../test-sample-api. I can now see on my package.json the line : &...
2
votes
0
answers
76
views
NPM - npm install fails with ENOENT mkdir error on Windows VDI (Node v24, no admin rights)
I've Node v24 installed in my Windows VDI. When running command npm i it gives the following error:
PS C:\Users\RAY\Dashboard\frontend> npm i
npm error code ENOENT
npm error syscall mkdir
npm error ...
1
vote
0
answers
35
views
Package not found error in Saucectl command line execution
I am trying to set up Saucectl in my project and I have done the entire setup which includes saucectl config files and env variables.
I verified all the sauce documented Packages option, Dependency ...
0
votes
1
answer
86
views
Cannot install npm in maven due to missing certs
I got the correct certificate (a .crt file) from my co-worker. I did the appropriate command to add this to the Java Keystore which works well as per this command:
keytool -import -trustcacerts -...
0
votes
1
answer
81
views
Inexplicable npm Error with @mui and x-date-pickers
I deleted the node_modules folder and package-lock.json, and ran this:
Meteor npm install @mui/[email protected]
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm ...
0
votes
1
answer
70
views
Error: Cannot find module 'node-gyp/bin/node-gyp.js' in macos
whenever I use any command in npm I get below error
npm --version
/usr/local/lib/node_modules/npm/lib/cli.js:48
throw err
^
Error: Cannot find module 'node-gyp/bin/node-gyp.js'
Require stack:
...
1
vote
0
answers
40
views
How to setup .npmrc file in Next.js application that is dependent on an authtoken?
I have a Next.js application that is dependent on a npm package that uses an authentication token. I don't want to commit this token to source control.
I created a .env file in the root of my ...
2
votes
1
answer
349
views
npm install @lvce-editor/ripgrep install dependency on from Github that doesn't respect proxy settings
I am using a .npmrc with the following setup for a proxy:
proxy=http://localhost:8887
https-proxy=http://localhost:8887
strict-ssl=false
But running this statement:
npm install @lvce-editor/ripgrep
...
0
votes
0
answers
73
views
Maven project / build running on Java 21 fails with frontend-maven-plugin:1.13.1 and Node.js 22.*, but works with Node 16
I have a Maven project that uses Java 21 and the frontend-maven-plugin version 1.13.1 to run Node.js 22.x
When I run the Maven build especially npm install the build fails with errors (see error ...
1
vote
0
answers
81
views
is there an npm equivalent of "pip download" (not npm pack)
When installing a dependency, that dependency itself may also have dependencies. In pip for example, typing "pip download " downloads the dependency's .tgz as well as the dependency's ...
0
votes
1
answer
63
views
Does package-lock.json get used while we install the package as dependencies?
Let's suppose we have package A that's dependent on package B. For package B, we can easily rebuild the package idempotent by running npm ci since we honor the package-lock.json to make sure every ...
1
vote
0
answers
334
views
npm install msnodesqlv8 for Database Windows Authentification - Python Error
I want to use module msnodesqlv8 to do Windows Authentification in my DB.
My code is pretty simple and looks like this:
const sql = require('mssql/msnodesqlv8');
const config = {
server: '...
1
vote
1
answer
43
views
npm module disappears after "npm install"
Which results in the error => Can't find the "npm module".
Repro steps are below :
Install node.js in a particular folder.
Check the presence of npm module inside node_modules folder.
...
0
votes
1
answer
30
views
Is there a way to compile js and scss files without node_modules folder
I accidentally deleted the node_modules folder. I can't reinstall it since the files containing the npm libraries called package.json has been deleted as well. Is there some other way of manually ...
0
votes
1
answer
251
views
Unresolved reference: BaseReactPackage
I am getting error in implementing react-native-screen using react-native.
file:///Users/prateekbhardwaj/Desktop/buau_app/node_modules/react-native-screens/android/src/main/java/com/swmansion/...