Skip to content

npmx-connector failed to run via pnpm #2645

@ImLunaHey

Description

@ImLunaHey

Describe the bug

➜  psn-api git:(main) pnpm dlx npmx-connector
Packages: +16
++++++++++++++++
Progress: resolved 21, reused 11, downloaded 5, added 16, done
file:///Users/luna/Library/Caches/pnpm/dlx/165b4bdd1d2a08fbc55efcbb9bfc8f811f2510e6c69ab469f8f5cf61df8e0695/19dd0783035-16ffa/node_modules/.pnpm/npmx-connector@0.9.0/node_modules/npmx-connector/dist/server-C9jFi7Vy.mjs:773
	await using tempDir = await mkdtempDisposable(join(tmpdir(), "npmx-init-"));
	            ^^^^^^^

SyntaxError: Unexpected identifier 'tempDir'
    at compileSourceTextModule (node:internal/modules/esm/utils:344:16)
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:105:18)
    at #translate (node:internal/modules/esm/loader:534:12)
    at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:581:27)

Node.js v22.16.0

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending triageNew issue waiting for initial maintainer triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions