-
Notifications
You must be signed in to change notification settings - Fork 2
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
Comments
Since you are running the CLI on a windows machine, could you specify which command line tool was used to install the CLI ? |
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:
***@***.***>
|
the file doesn't exists in the package? so regardless of environment it will ended in error? |
Yes, at the moment you need a linux environment to run fleek cli. That means you should use WSL or similar on windows. |
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 missingen.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:
npm install -g @fleek-platform/cli
fleek version
Expected Behavior:
The command
fleek version
should display the version number without throwing an error.System Information:
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.
The text was updated successfully, but these errors were encountered: