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

Cannot install version 0.6+ with npm #45

Closed
nielsvandermolen opened this issue May 6, 2021 · 2 comments
Closed

Cannot install version 0.6+ with npm #45

nielsvandermolen opened this issue May 6, 2021 · 2 comments

Comments

@nielsvandermolen
Copy link
Contributor

Describe the bug
After installing with npm the following bug is triggered.

npm ERR! command sh -c npx -y only-allow pnpm                                                    
npm ERR! ║   Use "pnpm install" for installation in this project.                                              
npm ERR! ║   If you don't have pnpm, install it via "npm i -g pnpm".  
npm ERR! ║   For more details, go to https://pnpm.js.org/

To Reproduce
npm install --save-dev svelte-adapter-firebase@0.6.1

Expected behavior
The adapter should be able to be installed with npm

Additional context
It seems pnpm can not do anything npm can not do besides being a bit more efficient in caching. Therefore pnpm should not be a requirement to install the adapter?

This line in package.json is causing the issue:

  "scripts": {
    "preinstall": "npx -y only-allow pnpm",
@nielsvandermolen
Copy link
Contributor Author

I should read better duplicate of #44

@jthegedus
Copy link
Owner

Please try 0.6.3 as I believe this has been fixed.

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