× Package install failed, see above. The Schematic workflow failed. See above - node.js

When I run ng new project-1 in command prompt, it shows this error.
× Package install failed, see above.
The Schematic workflow failed. See above.
I tried installing node latest version, but again I got this error.
Hope you can help me with this.
Thanks in advance !

I installed angular/cli latest version through follo, and it solved the problem.
npm i #angular/cli

Related

Npm install has exited with non zero status. Some dependencies are not installed. Check npm command output

I am new to Vaadin and WSL. Therefore, I am stuck at a point in my WSL Ubuntu environment where I can not run my maven project. This same project runs without any issues from my windows. Here is a screenshot of the errors.
Error while running the project
Even npm install fails and shows this error on my Intellij IDE.
NPM install error
Can Somebody please help to identify the reason behind these and suggest a solution?

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

Facing issue while installing tensorflow.js via npm

Used the following cmd (as given in the tensorflow docs) : npm install -g #tensorflow/tfjs-node
Tried to figure out the issue, but unable to find a solution. Kindly help in resolving this. (Thanks in Advance)
The image below shows the error I am getting.
You need to either install node-gyp (https://github.com/nodejs/node-gyp#installation) or ensure that the right version of python is accessible to it.
If you've already got node-gyp and python 2.7 installed, run npm config set python python2.7 to configure npm to use it.

Cannot find module node-sass while running Ionic 4

I have a big problem with node-sass. I have installed Ionic 4 and did my 'ionic serve' but the compile process failed.
I got the following issue:
"Module build failed: Error: Cannot find module 'node-sass'"
I tried a lot, but it is not possible for me to install the node-sass folder under my node_module. I found a notice with a node-sass bug [here]. But nothing works for me. I tried to uninstall node-sass, but this failed too.
I had the same bug with my every Ionic Project Start. I had this at Ionic V3 too. But know its not possible to get this bug fixed.
Hope someone could help me.
I am also facing Cannot find module 'node-sass'" problem. i will use npm rebuild node-sass --force to install node-sass forcefully to my project. And also what i found it node-sass required python to build their library. i installed Python in my C:/ location to fix rebuild fail problem.

Trouble installing Yeoman; "archive/0.9.5.tar.gz" not found

I'm trying to install yeoman but it seems that the following url no longer works/may have been removed from github:
I'm running:
npm install -g yeoman
->
npm ERR! fetch failed http://github.com/yeoman/generators/archive/0.9.5.tar.gz
The github repository no longer seems to exist. What should I do? Thank you!
The link is here to make it easy for others to go there.
Thank you for your time and patience reading this; I just started trying to use NodeJS so I am sure the fault is on my end somehow.
npm install -g yo
Please refer to our official documentation on our website: http://yeoman.io/
The yeoman binary has not updated/used in > 4 years.

Resources