2
respostas

Erro ao add Materialize

Está aparecendo o seguinte erro ao inserir o materialize framework no meteor.

C:\Users\Thiago Saad\Desktop\projeto\pokemonleague> meteor add materialize:materialize
 => Errors while adding packages:

While loading package fourseven:scss@3.2.0:
error: Command failed: C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd rebuild
--no-bin-links --update-binary
Cannot download "https://github.com/sass/node-sass/releases/download/v3.2.0/win32-ia32-46_binding.node": HTTP
error 404 Not Found
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack     at Request.<anonymous> (C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\node_modules\node-sass\node_modules\pangyp\lib\install.js:251:14)
gyp ERR! stack     at emitOne (events.js:82:20)
gyp ERR! stack     at Request.emit (events.js:169:7)
gyp ERR! stack     at Request.onRequestResponse (C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\node_modules\node-sass\node_modules\pangyp\node_modules\request\request.js:1255:10)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! stack     at ClientRequest.emit (events.js:169:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:430:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:103:23)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:320:20)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.2.0\\plugin.compileScss.os.windows.x86_32\\npm\\node_modules\\meteor\\compileScss\\compileScss\\node_modules\\.temp-6wu558\\node_modules\\node-sass\\node_modules\\pangyp\\bin\\node-gyp"
"rebuild" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\node_modules\node-sass
gyp ERR! node -v v4.4.7
gyp ERR! pangyp -v v2.2.1
gyp ERR! not ok
Build failed

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! node-sass@3.2.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.2.0 postinstall script 'node scripts/build.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/build.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!     C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\npm-debug.log
Cannot download "https://github.com/sass/node-sass/releases/download/v3.2.0/win32-ia32-46_binding.node": HTTP
error 404 Not Found
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball
gyp ERR! stack     at Request.<anonymous> (C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\node_modules\node-sass\node_modules\pangyp\lib\install.js:251:14)
gyp ERR! stack     at emitOne (events.js:82:20)
gyp ERR! stack     at Request.emit (events.js:169:7)
gyp ERR! stack     at Request.onRequestResponse (C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\node_modules\node-sass\node_modules\pangyp\node_modules\request\request.js:1255:10)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! stack     at ClientRequest.emit (events.js:169:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:430:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:103:23)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:320:20)
gyp ERR! stack     at emitOne (events.js:77:13)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\fourseven_scss\\3.2.0\\plugin.compileScss.os.windows.x86_32\\npm\\node_modules\\meteor\\compileScss\\compileScss\\node_modules\\.temp-6wu558\\node_modules\\node-sass\\node_modules\\pangyp\\bin\\node-gyp"
"rebuild" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\node_modules\node-sass
gyp ERR! node -v v4.4.7
gyp ERR! pangyp -v v2.2.1
gyp ERR! not ok
Build failed

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\Thiago
Saad\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! node-sass@3.2.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.2.0 postinstall script 'node scripts/build.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/build.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!     C:\Users\Thiago
Saad\AppData\Local\.meteor\packages\fourseven_scss\3.2.0\plugin.compileScss.os.windows.x86_32\npm\node_modules\meteor\compileScss\compileScss\node_modules\.temp-6wu558\npm-debug.log
2 respostas

Parece que realmente tem um problema em instalar ele no windows. Nesse link => https://github.com/meteor/meteor/issues/7526 é explicado justamente seu problema e o usuário de lá da uma possibilidade de solução. Sugiro que dê uma lida e tente fazer a mesma coisa. Espero ter ajudado.

Cara, primeiramente você deve adicionar um pacote que é uma dependência do materialize, com o comando meteor add fourseven:scss, e depois adiciona o materialize meteor add materialize:materialize. Funcionou pra mim. Abraços!