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_installer: Skip creating package.json #410

Closed
wants to merge 1 commit into from

Conversation

kamalmarhubi
Copy link

@kamalmarhubi kamalmarhubi commented Nov 17, 2020

If the name in the package.json file generated by npm init
matched the name of one of the packages to be installed, npm would
error out. It turns out that npm will happily install packages without
the current directory containing a package.json, so just do that
instead of any gymnastics to avoid name the name collision.

fixes #409

If the name in the `package.json` file generated by `npm init`
matched the name of one of the packages to be installed, npm would
error out. It turns out that npm will happily install packages without
the current directory containing a `package.json`, so just do that
instead of any gymnastics to avoid name the name collision.

fixes neovim#409
@kamalmarhubi
Copy link
Author

I'm realising that #334 means this should probably not get merged.

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

Successfully merging this pull request may close these issues.

npm_installer fails if packages contains server_name, causing issue with pyright
1 participant