Reputation: 39
I am trying to run command npm start, before that I installed nodejs, npm install. Following issues has been attached in image file.
Please have a greatful help.
Upvotes: 3
Views: 39
Reputation: 27285
You don't have a packages.json
file. When you start a project run npm init
to create one.
For Angular there is a small program "Angular CLI" to create complete projects with all dependencies.
Upvotes: 1
Reputation: 12378
The error message you see tells that you run npm install from a directory that doesn't have the file package.json.
Also, you have a very old version of Node. Angular requires at least the version 6.9. Install the current version of Node from https://nodejs.org/en/
Upvotes: 1