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

pls tell me how solve this [email protected] dev: preact watch #18

Open
johnfelipe opened this issue Jun 6, 2021 · 0 comments
Open

Comments

@johnfelipe
Copy link

apt install npm
apt install python3-pip
git clone https://github.com/Data-Science-Community-SRM/DocGen.git
cd DocGen/

install dependencies

npm install

added 1657 packages from 1022 contributors and audited 1662 packages in 38.228s

82 packages are looking for funding
  run `npm fund` for details

found 4580 vulnerabilities (5 low, 199 moderate, 4376 high)
  run `npm audit fix` to fix them, or `npm audit` for details

npm audit fix

+ [email protected]
added 579 packages from 121 contributors, removed 73 packages, updated 291 packages and moved 8 packages in 66.377s

122 packages are looking for funding
  run `npm fund` for details

fixed 4538 of 4580 vulnerabilities in 1662 scanned packages
  35 vulnerabilities required manual review and could not be updated
  1 package update for 7 vulnerabilities involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm audit` for steps to fix these manually)


   ╭────────────────────────────────────────────────────────────────╮
   │                                                                │
   │      New major version of npm available! 6.14.4 → 7.16.0       │
   │   Changelog: https://github.com/npm/cli/releases/tag/v7.16.0   │
   │               Run npm install -g npm to update!                │
   │                                                                │
   ╰────────────────────────────────────────────────────────────────╯

serve with hot reload at localhost:8080

npm run dev

> [email protected] dev /root/DocGen
> preact watch

✖ ERROR You are using Node v10.19.0 but preact-cli requires Node >=12. Please upgrade Node to continue!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `preact watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-06-06T06_32_41_953Z-debug.log
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