Amar Ghodke Amar Ghodke - 1 month ago 9x
Node.js Question

Angular Material installation issue - no such a file or directory

I'm trying to install Angular Material on my laptop. I have installed Node.js on my Windows 8 laptop. When I try to install Angular Material using node in the command line I am getting the following error.

enter image description here

npm WARN enoent :no such a file or directory,open

My question is, what is causing this?


The folder you are working on does not seem to be a node project folder. NPM expects a file called package.json to be in the root of your project before it can start installing dependencies.

You can create this file via helper by running npm init