Skip to content

Week 1 - Node ecosystem in class questions#13

Open
marnel-mangrubang wants to merge 2 commits intopce-uw-jscript400:masterfrom
marnel-mangrubang:master
Open

Week 1 - Node ecosystem in class questions#13
marnel-mangrubang wants to merge 2 commits intopce-uw-jscript400:masterfrom
marnel-mangrubang:master

Conversation

@marnel-mangrubang
Copy link

Week 1 - Node ecosystem questions in class.

readme.md Outdated
* **Question:** What does `npm init` do? How does the `-y` flag modify that command?

* **Your Answer:**
* **Your Answer:** `npm init` creates the package.json file for the project? Don't know what the -y flag does.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try running npm init in an empty folder. Then, delete the generated package.json and run npm init -y. That'll help clarify the difference!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, okay I tried it inside an empty project folder and saw the difference. Thank you.

readme.md Outdated
* **Question:** What gets logged? Why?

* **Your Answer:**
* **Your Answer:** My name.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Answered the why part of the question and updated my readme file on my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants