1
I started a course of Vue.js and I am installing a feature by Node.js but I am having problems with the npm command, take a look;
What is wrong with my Ode on this command below?
npm install vue vue-resource bootstratp font-awesome --save
I already uninstalled and installed again Node and nothing!
NOTE: I am using Windows.
The error also appears if you test only
npm install --save bootstrap
? have you tested with Yarn? (yarn add bootstrap
)– Sergio
that command you gave me didn’t work, and how do I use it with Yarn?
– wladyband
https://yarnpkg.com/lang/en/docs/install/ and then
yarn add bootstrap
– Sergio
I am doing a course in which he is using npm, if I install Yarn I can use the same command I use npm in Yarn?
– wladyband
The
npm
uses the APIinstall
and theyarn
uses theadd
, but otherwise they’re pretty much the same. But if you can installbootstrap
with theyarn
you can continue with thenpm
and follow the course as it is.– Sergio
Don’t get upset, but I’ll try to make npm work, but if I can I put here what I can solve.
– wladyband
Of course I don’t get upset :) The best is npm working. This must be an intermittent problem that will disappear. The idea was to test Yarn to see if it works and eventually not get stuck there.
– Sergio