Why am I getting an error when trying to install and run npm?

Andrewoca

I am trying to install and run npm in a linux environment. I have executed the below code to try and achieve this

nvm install v11.0.0
nvm use v11.0.0
npm install
npm start

When I execute npm install in the command line I keep getting the following error message. Any advice to help this run is much appreciated.

npm WARN saveError ENOENT: no such file or directory, open '/home/andrewoca/PycharmProjects/pythonProject/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/andrewoca/PycharmProjects/pythonProject/package.json'
npm WARN pythonProject No description
npm WARN pythonProject No repository field.
npm WARN pythonProject No README data
npm WARN pythonProject No license field.

Joe

Before running npm install, create an npm project.

This can be done with npm init -y

Now you can use npm install <package name>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Why am i getting this error when trying to install mongoDB?

I am getting this error when trying to run my bot commands

Why am I getting the error when I'm trying to SELECT?

Why am I getting an error when installing the latest version of npm?

Why am i getting an error when trying to work with ggplot in Julia?

Why am I getting an error when trying to append HTML in AngularJS?

Why I am getting an error when trying to create an audience?

Why am I getting an error when trying to compare to dictionary values?

Why am I getting a syntax error when trying to create a table?

why am I getting an error when trying to generate rsa 128

Why am I getting "Agent error" when trying to perform a backup?

NPM - Getting error when trying to run the npm install command (webpack and babel-loader)

When i am trying to run this code i am getting the following error

Why am I getting an error when I am trying to insert a while loop?

Why am I getting an error with conversion when I am trying to subscribe to event?

Why am i getting this error when i am trying to insert a string into a list?

Why am I getting an error when I am trying to change a tuple

Why am I getting this "You have an error in your SQL syntax;" error after trying to run "Status" with pymysql?

Why am I getting a segmentation fault error whenever I'm trying to run this LinkedList delete function?

Why am I getting this error message when I am using NSTimer to run function every x seconds?

I am getting a type error when I am trying to replace

I am getting following error when i was trying run Angular 7 code on stackblitz from github repo

I am trying to install MongoDB for a node js express on a Windows 8 machine using 'npm install mongodb', getting following error

When I am trying to run the server by npm run server, I get this error : Error: Cannot find module './config/db'

Why do i get the npm error -38 when trying npm install?

Why I am getting segmentation fault when trying to run the find function even though accessing memory properly?

Why am I getting a compiler error when I'm trying to print string return?

I am getting error during npm install, not installing all packages

Issues trying to do 'npm install create-react-app' - why am i getting a saveError with a package.lock.json?