Bootstrap@4.0.0-alpha.3 is invalid

Install bootstrap 4 via npm. I keep getting the same error:

enter image description here

Any ideas on how to successfully install bootstrap 4 with npm? I tried all the options from this answer

+4
source share
3 answers

Workaround: Instead, it was installed with a gazebo, and it worked.

bower install bootstrap#v4.0.0-alpha.3

0
source

Perhaps you were unable to add - save after the npm command

Use this one :

npm install bootstrap@4.0.0-alpha.3 --save

For the latest version :

npm install bootstrap @next --save

+5

To install bootstrap 4.0.0-alpha.6 using your package.json file, you need to add this to devDependencies:

"bootstrap": "4.0.0-alpha.6"

Hope this helps.

+2
source

Source: https://habr.com/ru/post/1649610/


All Articles