Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

name can only contain URL-friendly characters

I was trying to install package.json with npm init to install bootstrap in my folder but i am getting the error.

npm install [email protected] --save

I am new to this i can't exactly figure what i am doing wrong. I was following a tutorial whose link i'll attach along with screenshot of my console.

this the tutorial link

this is the screenshot

like image 738
isrj5 Avatar asked Jan 05 '18 05:01

isrj5


1 Answers

npm init is actually creating the package.json file and setting the characteristics of the project(It has no relation with bootstrap). So, in the field package name, you have to enter the name of your project (you have now entered the npm install bootstrap command) or you can just press enter if the name displayed in bracket is enough. Complete the npm init processs by setting all characteristics of project.

As next step, you can do npm install [email protected] --save. It'll work

like image 160
Fathima Linsa K Avatar answered Sep 22 '22 15:09

Fathima Linsa K