-
Hi, I need help |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
This probably means that the
PATH
environment 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
~/.zshrc
This will apply for to any new terminal sessions for your user moving forward.
If you don't want to fiddle with your mac…