1

I'm trying to create my Starter Pack Setup and I need to install NPM dependencies. I should create a json file in: /Users/matteomattiussi/Documents/Udemy/Bootstrap/bs4projects/bs4starter but I don't know how do it because I always getting the json file in: /Users/matteomattiussi/package.json

Can someone help me, please?

1
  • What command do you use to create the file? Commented Dec 8, 2017 at 8:52

2 Answers 2

1

In order to create a package.json file in /Users/matteomattiussi/Documents/Udemy/Bootstrap/bs4projects/bs4starter (if the directory already exists and you have npm installed):

cd /Users/matteomattiussi/Documents/Udemy/Bootstrap/bs4projects/bs4starter
npm init

In using package.json:

This will initiate a command line questionnaire that will conclude with the creation of a package.json in the directory you initiated the command.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use online JSON compiler and then download it in your directory. https://jsoneditoronline.org/ This is a example of a site which can create JSON file online.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.