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

Problems using with npx to install as a dependency #662

Open
imakeinterfaces opened this issue Oct 22, 2024 · 0 comments
Open

Problems using with npx to install as a dependency #662

imakeinterfaces opened this issue Oct 22, 2024 · 0 comments

Comments

@imakeinterfaces
Copy link

If I try to install this package using npx with the -p flag I get an error saying Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@mswjs/interceptors' imported from

For example:
npx -p @mswjs/interceptors -p @babel/core -p @babel/node babel-node

Wherein the -p packages are installed as dependencies, and the final babel-node is calling the package executable. Other packages work such as babel, dotenv etc but for some reason this package does not. Any idea why?

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

1 participant