1
resposta

já esta instalado mais ainda da erro, alguém me da uma luz.

levi@levi-Lenovo-ideapad-330-15IKB:~$ gulp --version
[23:28:23] CLI version 3.9.1
[23:28:23] Local version 4.0.2
levi@levi-Lenovo-ideapad-330-15IKB:~$ nodejs -v
v8.10.0
levi@levi-Lenovo-ideapad-330-15IKB:~$ npm -v
3.5.2
errro
levi@levi-Lenovo-ideapad-330-15IKB:~/Documentos/alura/formação/Html-css/Mirror-Faschion$ npm install gulp@3.9.0 --save-dev
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
loadDep:fsevents → reques ▐ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine fsevents@2.1.2: wanted: {"node":"^8.16.0 || ^10.6.0 || >=11.0.0"} (cloadExtraneous            ▀ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine fsevents@2.1.2: wanted: {"node":"^8.16.0 || ^10.6.0 || >=11.0.0"} (cnpm WARN deprecated popper.js@1.16.1: Popper changed home, find its new releases at @popperjs/core
npm WARN saveError ENOENT: no such file or directory, open '/home/levi/package.json' ......etc.


npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@2.1.2
npm WARN optional Skipping failed optional dependency /mocha/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@2.1.2
npm WARN optional Skipping failed optional dependency /rijs.resdir/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.11
npm WARN enoent ENOENT: no such file or directory, open '/home/levi/package.json'
npm WARN levi No description
npm WARN levi No repository field.
npm WARN levi No README data
npm WARN levi No license field.
levi@levi-Lenovo-ideapad-330-15IKB:~/Documentos/alura/formação/Html-css/Mirror-Faschion$ npm install
loadDep:fsevents → 304    ▐ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine fsevents@2.1.2: wanted: {"node":"^8.16.0 || ^10.6.0 || >=11.0.0"} (cloadDep:fsevents → resolv ▀ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine fsevents@2.1.2: wanted: {"node":"^8.16.0 || ^10.6.0 || >=11.0.0"} (cnpm WARN deprecated popper.js@1.16.1: Popper changed home, find its new releases at @popperjs/core
/home/levi
├── bootstrap@4.4.1 
├── jquery@3.4.1 
├── popper@1.0.1 
└── popper.js@1.16.1 

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@2.1.2
npm WARN optional Skipping failed optional dependency /mocha/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@2.1.2
npm WARN optional Skipping failed optional dependency /rijs.resdir/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.11
npm WARN enoent ENOENT: no such file or directory, open '/home/levi/package.json'
npm WARN levi No description
npm WARN levi No repository field.
npm WARN levi No README data
1 resposta

Fala ai Levi, tudo bem? Pelo erro parece que você está rodando o comando em um diretório que não é um projeto npm, ou seja, ela não tem arquivo package.json.

pm WARN saveError ENOENT: no such file or directory, open '/home/levi/package.json' ......etc.

Seu projeto está na raiz do seu usuário (no caso /home/levi/)?

Espero ter ajudado.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software