Problemi npm

Configurazione e uso di IDE, editor, compilatori, in fase di programmazione.
pippuccio76
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 704
Iscrizione: venerdì 16 settembre 2005, 20:51
Desktop: Xubuntu
Distribuzione: 20.04
Sesso: Maschile

Problemi npm

Messaggio da pippuccio76 »

Salve sto iniziando ad utilizzare laravel e vorrei installare breeze per gestire l'autenticazione quando do il comando :

npm install && npm run dev

ho:

Codice: Seleziona tutto

npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for laravel-mix@6.0.39: wanted: {"node":">=12.14.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: laravel-mix@6.0.39
npm WARN notsup Unsupported engine for sass-loader@12.4.0: wanted: {"node":">= 12.13.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: sass-loader@12.4.0
npm WARN notsup Unsupported engine for fs-extra@10.0.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: fs-extra@10.0.0
npm WARN notsup Unsupported engine for img-loader@4.0.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: img-loader@4.0.0
npm WARN notsup Unsupported engine for postcss-loader@6.2.1: wanted: {"node":">= 12.13.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: postcss-loader@6.2.1
npm WARN notsup Unsupported engine for webpack-dev-server@4.4.0: wanted: {"node":">= 12.13.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: webpack-dev-server@4.4.0
npm WARN notsup Unsupported engine for webpackbar@5.0.2: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: webpackbar@5.0.2
npm WARN notsup Unsupported engine for yargs@17.3.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: yargs@17.3.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN notsup Unsupported engine for http-proxy-middleware@2.0.1: wanted: {"node":">=12.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: http-proxy-middleware@2.0.1
npm WARN notsup Unsupported engine for open@8.4.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: open@8.4.0
npm WARN notsup Unsupported engine for strip-ansi@7.0.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: strip-ansi@7.0.1
npm WARN notsup Unsupported engine for webpack-dev-middleware@5.3.0: wanted: {"node":">= 12.13.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: webpack-dev-middleware@5.3.0
npm WARN notsup Unsupported engine for ansi-regex@6.0.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: ansi-regex@6.0.1
npm WARN notsup Unsupported engine for schema-utils@4.0.0: wanted: {"node":">= 12.13.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: schema-utils@4.0.0
npm WARN notsup Unsupported engine for yargs-parser@21.0.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: yargs-parser@21.0.0
npm WARN bootstrap@5.1.3 requires a peer of @popperjs/core@^2.10.2 but none is installed. You must install peer dependencies yourself.

added 800 packages from 444 contributors and audited 803 packages in 26.19s

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

found 0 vulnerabilities


> @ dev /home/stefano/localhost/provaBreeze
> npm run development


> @ development /home/stefano/localhost/provaBreeze
> mix

Error: You are using an unsupported version of Node. Please update to at least Node v12.14
    at assertSupportedNodeVersion (/home/stefano/localhost/provaBreeze/node_modules/laravel-mix/src/Engine.js:6:15)
    at executeScript (/home/stefano/localhost/provaBreeze/node_modules/laravel-mix/bin/cli.js:61:5)
    at Command.program.command.description.option.action (/home/stefano/localhost/provaBreeze/node_modules/laravel-mix/bin/cli.js:47:13)
    at Command.listener [as _actionHandler] (/home/stefano/localhost/provaBreeze/node_modules/commander/index.js:922:31)
    at Command._parseCommand (/home/stefano/localhost/provaBreeze/node_modules/commander/index.js:1503:14)
    at Command._dispatchSubcommand (/home/stefano/localhost/provaBreeze/node_modules/commander/index.js:1443:18)
    at Command._parseCommand (/home/stefano/localhost/provaBreeze/node_modules/commander/index.js:1469:12)
    at Command.parse (/home/stefano/localhost/provaBreeze/node_modules/commander/index.js:1292:10)
    at Command.parseAsync (/home/stefano/localhost/provaBreeze/node_modules/commander/index.js:1318:10)
    at run (/home/stefano/localhost/provaBreeze/node_modules/laravel-mix/bin/cli.js:50:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ development 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!     /home/stefano/.npm/_logs/2021-12-28T17_24_35_773Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ 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!     /home/stefano/.npm/_logs/2021-12-28T17_24_35_790Z-debug.log

Avatar utente
Eresia
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 362
Iscrizione: venerdì 30 giugno 2006, 1:20
Distribuzione: gentoo
Sesso: Maschile

Re: Problemi npm

Messaggio da Eresia »

aggiorna node e npm
chiede la > 12.x e la tua è 10.x
emerge --auD --oneshot life/lucky-*
Scrivi risposta

Ritorna a “Strumenti per la programmazione”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti