docker-getting-started icon indicating copy to clipboard operation
docker-getting-started copied to clipboard

How to do "npm install xxx -S" correctly in this example?

Open demobo-com opened this issue 7 years ago • 3 comments

demobo-com avatar Dec 18 '18 00:12 demobo-com

Did you run into any issue when you run npm install xxx -S?

Please describe your problem in details so that I could be able to understand your situation.

huan avatar Dec 19 '18 08:12 huan

In this docker example, I don't see any package.json file. Where should I do "npm init"?

demobo-com avatar Dec 20 '18 02:12 demobo-com

I'd like to suggest that you can either try to do it at the root directory or the src directory.

huan avatar Dec 20 '18 04:12 huan