Unable to install node packages E404 - node.js

So I don't know why but when I am trying to install any new packages from my node package manager I am getting same error.
I have attached screenshot of error below.
Node version 10.15.3, npm version 5.6.0.

Sounds like a network issue. Are you behind corporate firewall?

Related

Strapi V4 Error: Can't resolve '#strapi/design-system/themes'

I'm trying to run the new Strapi version 4 application. But it returns this error.
Is there any bug in new strapi v4? or I'm doing wrong anything?
I'm using strapi official guide to start a new project
installation command npx create-strapi-app#latest molla-admin.
NodeJS v16
Windows 11
Error
ModuleNotFoundError: Module not found: Error: Can't resolve '#strapi/design-system/themes' in 'C:\Users\Admin\Desktop\molla-admin\.cache\admin\src'
at C:\Users\Admin\Desktop\molla-<anonymous>:10:1)
You might be thinking #strapi/design-system package is missing right? After that, I also tried to install both #strapi/design-system and #strapi/design-system/themes npm package
Still, it doesn't work. It returns a new error
ModuleNotFoundError: Module not found: Error: Can't resolve '#strapi/icons/CarretDown' in 'C:\Users\Admin\Documents\testing\strapi-v4-app\node_modules\#strapi\helper-plugin\build'
Should I go on for the next missing Module?
For me the issue was solved by installing #strapi/design-system (Node: v14.15.5, npm: 8.1.3)
npm install #strapi/design-system
Node version : 14.18.1
Npm version : 6.14.15
OS : Ubuntu 20.04.3 LTS
Steps I followed:
(I read somewhere that the latest version of node isnt working and
someone mentioned using the 14.18.1 version)
Downgraded NPM to use the 14.18.1 version and not the latest.
npm run build on the strapi project. This gave an error that its
missing #strapi/design-system.
npm install #strapi/design-system, you get another error that its missing #strapi/icons
npm install #strapi/icons . After this step there was an error relating to JSX scritps something to do with reactjs. So, in the next step , I updated Reactjs
npm install --save react#latest
npm run build again and this time SUCCESS!!
The strapi team should mention the issues on their homepage rather that making new users go through hoops to get it working. They need to make it clear that you can run into issues when using certain version of Node etc. As someone mentioned that they are aware of the issue yet no information in the homepage where new users visit to try it out. It should've been placed as a BANNER at the top in BOLD TEXT.
It's a known bug and they are working on a fix.
You have to use yarn in the mean time.
I can confirm that this bug is related to using Node v16. To get around the bug, I first ran:
nvm use 14.18.1
Afterwards, running the following resulted in successful compilation:
npm run build -- --clean
No need to attempt installation of #strapi/design-system.
I got this error because I was using Node v16. There was a message somewhere in my troubleshooting that you have to use A Node version >=10.X.X.X and <=14.X.X.X
I used NVM(Node Version Manager) to switch to 14.17.6 and it works
following solution worked for me:
yarn add #strapi/design-system
yarn add #strapi/icons
work on windows and ubuntu
node v14.15.0
yarn 1.22.17
npm 6.14.8
npm install #strapi/design-system
solution worked for me.
node 16.13.1
npm 8.1.4
macOS 12.0.1 on M1Max

Npm error- when trying to install new dependencies

Sometimes I get the following error when using Node version 4.4.6:
react-test-renderer not found, react-test-renderer is not in the npm registry
Installing the latest version of Node didn't fix the issue.
Please help me to solve this problem.
Note: This is a Windows machine for development.

Unable to use 'npm install' on Windows 10 (error code ECONNRESET)

I have recently installed latest version of nodejs (6.3.1) with npm version 3.10.3. I am not able to install any node package using npm install command. Initially I thought it might be related with my office network firewall settings, but I am getting similar issue on my home network. Please see attached image for error details.
Appreciate if someone can help me to find a resolution.
npm config had bad network settings. So although I had disabled the main proxy / firewall etc. all npm commands were always going through that bad proxy. Managed to remove those bad entries finally, phew! :)

Satellizer installation error in windows

I am trying to install Satellizer.
But getting error.
Can you guide me to understand whats this error is, and how can I fix this.
I have node version v5.1.0 and npm version 3.5.2
Looks like you have the Satellizer as a decency inside your package.json
Or
That the project name is the same of one your depended package(s)
If it not a depended package, there used to be some error with npm v3.5.X so try to update your npm version and then re-install it.
I would also recommend to test it with node v4.X since v5 might contain those kind of bugs

npm err! registry error parsing JSON tried many solution but still getting issue

I'm following This blog and trying to install yeoman using:
npm install -g yo
but getting following error:
npm ERR! registry error parsing json
I have tried every solution that I found on internet but nothing worked for me.
My system configuration is:
OS : Windows-7 64 bit
Node version : 0.11.16
npm version : 2.3.0
I tried npm cache clean, uninstalled and reinstalled nodejs and tried with diff version of nodejs, cleaned temp folder and even restarted my system.
Please provide some feasible solution for this
What could be the reason behind it?
Is it related to some unstable node and npm version? If yes then which version is the most stable so far?
Found the solution:
Installed node version 0.10.36 and it solved my purpose

Resources