Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm WARN app@0.0 No repository field #344

Open
brndoko opened this issue Jun 3, 2017 · 2 comments
Open

npm WARN app@0.0 No repository field #344

brndoko opened this issue Jun 3, 2017 · 2 comments

Comments

@brndoko
Copy link

brndoko commented Jun 3, 2017

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
Copy link
Contributor

GaryB432 commented Jun 4, 2017

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
Copy link
Author

brndoko commented Jun 5, 2017

@GaryB432

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants