Skip to content

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

@johnfelipe

Description

@johnfelipe
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions