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

Package not found : live-server #22

Open
Preetraj2002 opened this issue Jun 23, 2024 · 0 comments
Open

Package not found : live-server #22

Preetraj2002 opened this issue Jun 23, 2024 · 0 comments

Comments

@Preetraj2002
Copy link

image

solution:

sudo npm install -g live-server

this installs the package globally

for locally installation,

cd /path/to/synner/synner-server/src/main/resources/static
npm install live-server --save-dev

npx will run the locally installed version of live-server if it is available.

cd /path/to/synner/synner-server/src/main/resources/static
npx live-server

finally run this to launch

npm run live-server

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

1 participant