Skip to content

Missing en.json File Error When Running Fleek CLI #47

@DruxAMB

Description

@DruxAMB

Bug Description:

After installing the Fleek CLI globally using npm, I attempted to check the version using the fleek version command, but I encountered an error related to a missing en.json file.

Error Message:

Error: ENOENT: no such file or directory, open 'C:\Users\HP Elitebook Mt44\AppData\Roaming\npm\node_modules@fleek-platform\cli\dist\locales\en.json' at readFileSync (node:fs:448:20) at loadJSONFromPackageRoot (C:\Users\HP Elitebook Mt44\AppData\Roaming\npm\node_modules@fleek-platform\cli\dist\bundle.js:105957:53)

Steps to Reproduce:

  1. Run npm install -g @fleek-platform/cli
  2. Run fleek version
  3. See the error

Expected Behavior:

The command fleek version should display the version number without throwing an error.

System Information:

  • Node.js Version: v20.17.0
  • NPM Version: v10.8.3
  • Operating System: Windows 10
  • Fleek CLI Version: The latest version from npm

Additional Context:

I also received warnings about deprecated packages during installation:
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported.

Please let me know if any additional information is needed.

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