Erro no nó durante a instalação dos módulos do nó

2

Estou tentando instalar o Laravel no meu servidor Debian, mas ele falha durante a instalação do node-sass . Eu tive essa configuração por um longo tempo e nunca tive problemas antes. Talvez node-sass ou npm tenha mudado alguma coisa recentemente?

Espero que você possa me ajudar, estou preso há dois dias.

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.3.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: 'node scripts/install.js'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     npm-debug.log
    
por Emil Moe 20.07.2016 / 14:15

1 resposta

7

A solução é

 npm install --no-optional
    
por 20.07.2016 / 14:28