surveyjs_angular_cli icon indicating copy to clipboard operation
surveyjs_angular_cli copied to clipboard

master branch does not install or run using npm/ng

Open bh-adrienne opened this issue 5 years ago • 2 comments

Running npm i gives me this:

$ npm i npm WARN Invalid version: "1.1" npm WARN surveyjs_angular_cli No description npm WARN surveyjs_angular_cli No repository field. npm WARN surveyjs_angular_cli No README data npm WARN surveyjs_angular_cli No license field.

up to date in 0.592s found 0 vulnerabilities

and installs nothing.

bh-adrienne avatar Apr 21 '19 15:04 bh-adrienne

In the package.json file, update "version": "1.1" as "version": "1.1.0" The version should be of the format X.Y.Z as per semantic versioning .

Also, I executed the below commands (in sequence) to fix angular cli version related errors.

npm install -g @angular/cli npm install @angular/cli ng update @angular/cli npm i [email protected] --save-dev --save-exact

nandankanitkar avatar Apr 21 '19 19:04 nandankanitkar

Had to do this as well

ng update @angular/cli --migrate-only --from=1.6.8

ryanleecode avatar Apr 28 '19 20:04 ryanleecode