preboot / angular-webpack

A complete, yet simple, starter for Angular v2+ using webpack
MIT License
1.29k stars 561 forks source link

npm WARN app@0.0 No repository field #344

Open brndoko opened 7 years ago

brndoko commented 7 years ago

When I do npm install I receive the warning in the subject field:

"npm WARN app@0.0 No repository field"

Everything in the repo appears to run fine with both npm start and the test frameworks. Do you know how to suppress or solve this warning?

Thanks!

GaryB432 commented 7 years ago

This is a warning that your package.json has missing information. Add a repository element to that file like so...

{
  "name": "your-project",
  "version": "0.0.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/you/your-project.git"
  },
  "scripts": {...}
}

If you don't have a repo, you can just ignore the warning.

see also stack overflow

brndoko commented 7 years ago

@GaryB432

Awesome, thanks!