All Questions
634
questions
-1
votes
1
answer
20
views
Terminal not recognizing npm and node, installed with nvm (on MAC) [closed]
I have installed nodejs and npm using NVM on mac, Whenever i open new terminal, it keep forgetting npm and node. I am using mac
I am facing this error
npm not found
npm -v
I am expecting the npm ...
-2
votes
1
answer
28
views
npm install failed in expo react native project on MacOs M1
I was trying to install a package in expo React Native project without success. Based on some recommendations from related, I deleted node_modules folder and then tried running npm install to install ...
-2
votes
1
answer
70
views
Vite React App do not open default browser from terminal
I am in Mac OS Terminal.
I create a React app with npm create vite.
Then npm install and npm run dev.
Then o to open app in browser.
But it opens Chrome instead of Brave (which is my default browser).
...
0
votes
1
answer
119
views
npm E401 error Incorrect or missing password
I am working with a Macos sonoma 14.5, node version is 22.2.0, npm 10.8.1.
The command "npm install" and "npm update" is always returning the following error :
npm error code E401
...
-1
votes
1
answer
189
views
Issues with PM2 Installation on macOS : "deprecated [email protected]" or "code EACCES"
Despite multiple attempts, I can't get PM2 to work on my macOS system. I've tried various methods like using sudo and adjusting npm directory permissions, but the 'pm2' command still isn't recognized.
...
-1
votes
1
answer
31
views
error after installing node & npm on a macbook air 2018
after downloading the installer and following the installation steps from here https://nodejs.org/en/download
I get the following error when I try node -v:
dyld[2548]: Library not loaded: /usr/local/...
0
votes
0
answers
185
views
webpack-cli Error: spawn Unknown system error -86 on MacBook Air M2 with Node.js v14.16.0
I'm encountering a recurring issue on my newly set up MacBook Air M2 (running macOS Sonoma 14.3), where the npm run dev command fails across different Node.js projects. Regardless of the project, I ...
-1
votes
1
answer
206
views
I need help updating my Node version on my Mac in order to use Next JS, I keep getting an error even though its installed
I'm creating a new NextJS App and its saying it requires a newer version of Node >= v18.17.0 in order to work with Next JS. I've been trying to update, but its saying the active node version is ...
-1
votes
1
answer
248
views
npm ERR! code 1 npm ERR! Canvas or Python related Issue? MacOS M3 Max Sonoma
Reproduce
Root: npm install or 'npm install canvas'
npm install canvas
Error
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { ...
-2
votes
1
answer
75
views
I tried installing nvm on mac but it shows already installed and then when i try to get its version or use any commands it errors out
-MacBook-Air ~ % brew install nvm
Warning: nvm 0.39.5 is already installed and up-to-date.
To reinstall 0.39.5, run:
brew reinstall nvm
-MacBook-Air ~ % nvm --version
zsh: command not found: nvm
-...
-2
votes
1
answer
422
views
Unable to download a npm module in Node.js v18.18.2
I recently downloaded Node.js from here using the macOS installer. The installation went normal but was unable to download a npm module from here. I ran this command in the terminal:
npm i @zeppos/...
3
votes
4
answers
6k
views
How do I fix npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>' when running npm link some-dep
I am trying to run npm link felca-runtime and am getting the below error, which I can't find anything useful on online:
theo.hodges@DKH334L0G5 felca-nhsuk % npm link felca-runtime
npm notice Beginning ...
1
vote
0
answers
552
views
Unexpected token '?' on npm run start [duplicate]
I am using npm version 12.22.3 in my Mac:
myuser@myuser-MacBook-Pro myproject-master % nvm ls
-> v12.22.3
system
default -> 12.22.3 (-> v12.22.3)
iojs -> N/A (default)
...
-1
votes
1
answer
179
views
Failed to install npm install -g @tableau/taco-toolkit
Here is the warning I got: npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://...
-1
votes
1
answer
834
views
How do I npm install on mac without errors?
I can't get past the errors; "node -v" and "npm -v" give valid responses but "npm install" gives me the following error:
➜ React git:(main) ✗ npm install
npm ERR! code ...