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 for package with local dependency fails #368

Closed
darcyclarke opened this issue Nov 8, 2019 · 3 comments
Closed

npm install for package with local dependency fails #368

darcyclarke opened this issue Nov 8, 2019 · 3 comments
Labels
Bug thing that needs fixing

Comments

@darcyclarke
Copy link
Contributor

  Original bug ticket: [https://npm.community/t/754](https://npm.community/t/754)
  Originally filed: 2018-07-20T04:11:04.425Z
@darcyclarke darcyclarke added Bug thing that needs fixing Community labels Nov 8, 2019
@HosseinAgha
Copy link

HosseinAgha commented Nov 9, 2019

Hi @darcyclarke is #327 the same? Could you please fix the link in the markdown?
I'm still experiencing this issue.

@darcyclarke
Copy link
Contributor Author

Thanks @HosseinAgha! We're going to go through the backlog here this week and ensure things are tagged/labelled accordingly (markdown links will get updated appropriately as well).

Appreciate you following up after this got migrated and I removed the duplicate issue.

@ARitz-Cracker
Copy link

ARitz-Cracker commented May 5, 2020

Hey, so, if you, the reader, were like me and were creating tarballs and using them with npm for internal purposes, and then died a little inside thinking you've discovered a bug in npm, please make sure you don't put your package files in the root of the tarball, instead, put them in a sub-folder called "package" or you will get strange errors like the one the the reporter was getting.

so, your tarball should look like
package/package.json
package/index.js
...etc.

Don't lose hope.

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

No branches or pull requests

3 participants