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

Package can't be used with NPM #1

Closed
golergka opened this issue Jul 18, 2021 · 1 comment · Fixed by #2
Closed

Package can't be used with NPM #1

golergka opened this issue Jul 18, 2021 · 1 comment · Fixed by #2

Comments

@golergka
Copy link

golergka commented Jul 18, 2021

Steps to reproduce

  1. Use a project that uses npm
  2. Try to install the package

Expected result

I can install the package from npm registry regardless of what package manager I use

Actual result

$ npm i electron-typescript-ipc
npm ERR! code 1
npm ERR! path /Users/golergka/Projects/project-name/node_modules/electron-typescript-ipc
npm ERR! command failed
npm ERR! command sh -c npx only-allow pnpm
npm ERR! ╔═════════════════════════════════════════════════════════════╗
npm ERR! ║                                                             ║
npm ERR! ║   Use "pnpm install" for installation in this project.      ║
npm ERR! ║                                                             ║
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/              ║
npm ERR! ║                                                             ║
npm ERR! ╚═════════════════════════════════════════════════════════════╝

Looks like I can only use this package with a project that uses pnpm.

@JichouP
Copy link
Owner

JichouP commented Jul 18, 2021

@golergka

Thanks for the information!
I have fixed this issue and released v1.0.1.

https://www.npmjs.com/package/electron-typescript-ipc

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 a pull request may close this issue.

2 participants