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

Error: Cannot detect package manager in the current path #45

Open
6 of 7 tasks
Haroenv opened this issue Feb 19, 2025 · 0 comments
Open
6 of 7 tasks

Error: Cannot detect package manager in the current path #45

Haroenv opened this issue Feb 19, 2025 · 0 comments

Comments

@Haroenv
Copy link

Haroenv commented Feb 19, 2025

Describe the bug

Trying with a couple different packages, I get this same error. This is when using Safari.

> Initiating WebContainer...
> WebContainer is booted.

> node --version
v18.20.3

> pnpm --version
8.15.6

> pnpm install instantsearch.js
[callSiteLocation@
depd@
../node_modules/.pnpm/[email protected]/node_modules/agentkeepalive/lib/agent.js@
@
../node_modules/.pnpm/[email protected]/node_modules/agentkeepalive/index.js@
@
../node_modules/.pnpm/@[email protected]/node_modules/@pnpm/network.agent/dist/agent.js@
@
../node_modules/.pnpm/@[email protected]/node_modules/@pnpm/network.agent/dist/index.js@
@
../network/fetch/lib/fetchFromRegistry.js@
@
../network/fetch/lib/index.js@
@
../env/plugin-commands-env/lib/node.js@
@
../env/plugin-commands-env/lib/downloadNodeVersion.js@
@
../env/plugin-commands-env/lib/envRemove.js@
@
../env/plugin-commands-env/lib/env.js@
@
../env/plugin-commands-env/lib/index.js@
@
lib/main.js@
@
lib/errorHandler.js@
@
@
@https://eznlcauvb5v69uhbdhkuwnv2b2qtj6-zjf3.w-corp-staticblitz.com/blitz.7f809d15.js:40:26451]

Node.js v18.20.3

> node __server.mjs
[Node Modules Inspector] No config found
[Node Modules Inspector] Reading dependencies...
[Error: Cannot detect package manager in the current path]

Node.js v18.20.3

Reproduction

https://node-modules.dev/#install=instantsearch.js

System Info

Safari 18.2 (20620.1.16.11.8)

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
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