Skip to content

issue with pnpm install #75

Description

@piffie

when i install the CLI with PNPM and then run fleek, it results in this error:

PS C:\dev\git\mc2.agents> fleek
node:fs:442
return binding.readFileUtf8(path, stringToFlags(options.flag));
^

Error: ENOENT: no such file or directory, open 'C:\Users\chris\AppData\Local\pnpm\global\5.pnpm@fleek-platform+cli@3.8.2_@types+node@22.2.0_typescript@5.7.3\node_modules@fleek-platform\cli\dist\locales\en.json'
at readFileSync (node:fs:442:20)
at loadJSONFromPackageRoot (C:\Users\chris\AppData\Local\pnpm\global\5.pnpm@fleek-platform+cli@3.8.2_@types+node@22.2.0_typescript@5.7.3\node_modules@fleek-platform\cli\dist\bundle.js:90197:53)
at Object. (C:\Users\chris\AppData\Local\pnpm\global\5.pnpm@fleek-platform+cli@3.8.2_@types+node@22.2.0_typescript@5.7.3\node_modules@fleek-platform\cli\dist\bundle.js:90202:10)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function.load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1335:12) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\chris\AppData\Local\pnpm\global\5\.pnpm\@fleek-platform+cli@3.8.2
@types+node@22.2.0_typescript@5.7.3\node_modules\@fleek-platform\cli\dist\locales\en.json'
}

Node.js v22.13.0

windows 11 machine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions