Command not found
#10654
|
Hi, I need help |
Answered by
achrinza
Sep 17, 2024
Replies: 1 comment 1 reply
|
This probably means that the If you're on Linux / macOS, you can run this command to fix it for that specific terminal session: export PATH="$PATH:$(npm config get prefix)/bin"To make it a permanent fix, add that line to the end of your shell's user initialisation file. The exact file to edit is dependent on which shell you're using.
This will apply for to any new terminal sessions for your user moving forward. If you don't want to fiddle with your machine's environment, substitute # This:
lb4 app
# is replaced with:
npx lb4 app
# This should also work
npx @loopback/cli app |
1 reply
Answer selected by
tky0065
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



This probably means that the
PATHenvironment variable is not configured to search for NPM-installed binaries.If you're on Linux / macOS, you can run this command to fix it for that specific terminal session:
To make it a permanent fix, add that line to the end of your shell's user initialisation file. The exact file to edit is dependent on which shell you're using.
~/.bashrc~/.zshrcThis will apply for to any new terminal sessions for your user moving forward.
If you don't want to fiddle with your mac…