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

npm --prefix not fit with same directory with leon/package.json on window 10 #505

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

emehmet
Copy link

@emehmet emehmet commented Sep 10, 2023

What type of change does this PR introduce?

  • [ x] Bugfix
  • Feature
  • Refactor
  • Documentation
  • Not Sure?

Does this PR introduce breaking changes?

  • Yes
  • [x ] No

List any relevant issue numbers:

Description:

With this fix, I solved the tcp-server failed to start error that I received while trying to install with leon-cli on Windows. On Windows, the npm --prefix command cannot run an npm install command in the other directory because there is a package.json under the .leon directory.

I solved this by going to the install directory with the 'cd' command.

@Hamish-Leahy
Copy link

I have been having the same issues I would recommend just trying to re install it using a different package manager and if that does not work then you will have to find further support
(Please don't get mad at me if this does not work as i am primarily a mac user but i do love windows i just think mac is more stable for development)

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

Successfully merging this pull request may close these issues.

None yet

2 participants