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 install bundle.tgz always failed #13

Open
robertchen opened this issue Mar 9, 2017 · 1 comment
Open

npm install bundle.tgz always failed #13

robertchen opened this issue Mar 9, 2017 · 1 comment

Comments

@robertchen
Copy link

package.json:
{
"name": "tmp",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"couchbase-promises": "^4.0.1"
}
}

npm-bundle
will generate tmp-1.0.0.tgz

then I do:
npm install tmp-1.0.0.tgz

npm ERR! Refusing to install tmp as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/robert/tmp/tmp2/npm-debug.log

@manuelreinhart
Copy link

Try to rename or remove the package.json file before npm install tmp.tgz

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