suneditor icon indicating copy to clipboard operation
suneditor copied to clipboard

Problem by install over npm

Open BogusCurry opened this issue 3 years ago • 1 comments

Hi there ;D I have a problem with install over npm, when I put npm install suneditor --save in the console comes this

gerriet@winpin:~/Downloads$ npm install suneditor --save
npm WARN saveError ENOENT: no such file or directory, open '/home/gerriet/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/gerriet/package.json'
npm WARN gerriet No description
npm WARN gerriet No repository field.
npm WARN gerriet No README data
npm WARN gerriet No license field.

+ [email protected]
updated 1 package and audited 1 package in 0.472s
found 0 vulnerabilities

What make I wrong or is a bug ?

OS is LinuxMint 20.3

Greetings Bogus | Germany

BogusCurry avatar Jan 15 '22 08:01 BogusCurry

You first need a Project before you can install npm packages.

you create a basic npm project with npm init after this you can npm install.

For an angular project you do ng new my-app and in this can you also can do npm install.

ScriptType avatar Jan 28 '22 14:01 ScriptType