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

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

Open
DruxAMB opened this issue Sep 22, 2024 · 4 comments
Open

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

DruxAMB opened this issue Sep 22, 2024 · 4 comments

Comments

@DruxAMB
Copy link

DruxAMB commented Sep 22, 2024

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 [email protected]: This module is not supported, and leaks memory. npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported.

Please let me know if any additional information is needed.

@KanishkKhurana
Copy link

Since you are running the CLI on a windows machine, could you specify which command line tool was used to install the CLI ?
Please also try running powershell as administrator and then installing or using WSL

@DruxAMB
Copy link
Author

DruxAMB commented Sep 26, 2024 via email

@adharshchottu
Copy link

the file doesn't exists in the package? so regardless of environment it will ended in error?

@fleekgonzalo
Copy link

I used the command provided on fleek CLI, like fleek version, fleek. All commands starting with fleek throw the same error. I have also tried running as administrator but throws the same error message. That means the command line only works in a Linux environment?

On Thu, Sep 26, 2024 at 9:57 AM Kanishk Khurana @.> wrote: Since you are running the CLI on a windows machine, could you specify which command line tool was used to install the CLI ? Please also try running powershell as administrator and then installing or using WSL — Reply to this email directly, view it on GitHub <#47 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7FAUH4ADGDVVUPBUSJIQBDZYPEADAVCNFSM6AAAAABOUE344GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZWGM2TSMZVG4 . You are receiving this because you authored the thread.Message ID: @.>

Yes, at the moment you need a linux environment to run fleek cli. That means you should use WSL or similar on windows.

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

4 participants