Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

[email protected] invalid

Installing bootstrap 4 via npm I keep getting the same error:

enter image description here

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

like image 719
BeniaminoBaggins Avatar asked Mar 11 '23 13:03

BeniaminoBaggins


2 Answers

May be you missed to add --save after the npm command

Use this:

npm install [email protected] --save

For latest version :

npm install bootstrap@next --save

like image 111
Amir Avatar answered Apr 21 '23 08:04

Amir


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

"bootstrap": "4.0.0-alpha.6"

Hope that helps.

like image 44
idro2k Avatar answered Apr 21 '23 08:04

idro2k