4
respostas

problemas no meteor

Segui o tutorial como explicado no video. criei o tasklist pelo meteor tudo ok até ai... quando fui rodar o meteor é que deu problema... o meteor diz que meu projeto está crashando, e olha que eu nao alterei nada ainda! é o projeto do proprio meteor, acho que deu ruim na instalação... mas nao apareceu nenhum problema durante a instalacao... erro: => Exited with code: 1 => Your application is crashing. Waiting for file change. alguém já passou por isso ?

4 respostas

Oi Rodrigo,

Poste aqui todo o conteúdo emitido no terminal e o conteúdo dos arquivos que você criou para melhor entendimento,

Poste também os pacotes que você adicionou no projeto, com o meteor list.

então, eu nao adicionei nada, não modifiquei nada ! só dei create e executei! o tasklist tem as pastas: .meteor, cliente e server tem um arquivo .gitignore e te um package.json

dentro do client tem o main.html, main.css, main.js Nao modificados! criados pelo meteor na pasta server tem um main.js tb nao modificado

erro completo:

=> Started proxy. => Started MongoDB. W20161220-09:40:36.518(-2)? (STDERR) C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:348 W20161220-09:40:36.864(-2)? (STDERR) }).run(); W20161220-09:40:36.865(-2)? (STDERR) ^ W20161220-09:40:36.866(-2)? (STDERR) W20161220-09:40:36.866(-2)? (STDERR) Error: The babel-runtime npm package could not be found in your nodemodules W20161220-09:40:36.866(-2)? (STDERR) directory. Please run the following command to install it: W20161220-09:40:36.867(-2)? (STDERR) W20161220-09:40:36.867(-2)? (STDERR) meteor npm install --save babel-runtime W20161220-09:40:36.868(-2)? (STDERR) W20161220-09:40:36.868(-2)? (STDERR) at meteorInstall.node_modules.meteor.babel-runtime.babel-runtime.js (packages\babel-runtime.js:37:9) W20161220-09:40:36.869(-2)? (STDERR) at fileEvaluate (packages\modules-runtime.js:181:9) W20161220-09:40:36.869(-2)? (STDERR) at require (packages\modules-runtime.js:106:16) W20161220-09:40:36.870(-2)? (STDERR) at packages\babel-runtime.js:139:15 W20161220-09:40:36.870(-2)? (STDERR) at packages\babel-runtime.js:150:3 W20161220-09:40:36.870(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:295:34 W20161220-09:40:36.871(-2)? (STDERR) at Array.forEach (native) W20161220-09:40:36.871(-2)? (STDERR) at Function..each..forEach (C:\Users\Rodrigo\AppData\Local.meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) W20161220-09:40:36.871(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:128:5 W20161220-09:40:36.872(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:344:5 => Exited with code: 1 W20161220-09:40:41.879(-2)? (STDERR) C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:348 W20161220-09:40:41.881(-2)? (STDERR) }).run(); W20161220-09:40:41.881(-2)? (STDERR) ^ W20161220-09:40:41.882(-2)? (STDERR) W20161220-09:40:41.882(-2)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules W20161220-09:40:41.883(-2)? (STDERR) directory. Please run the following command to install it: W20161220-09:40:41.885(-2)? (STDERR) W20161220-09:40:41.885(-2)? (STDERR) meteor npm install --save babel-runtime W20161220-09:40:41.886(-2)? (STDERR) W20161220-09:40:41.888(-2)? (STDERR) at meteorInstall.node_modules.meteor.babel-runtime.babel-runtime.js (packages\babel-runtime.js:37:9) W20161220-09:40:41.890(-2)? (STDERR) at fileEvaluate (packages\modules-runtime.js:181:9) W20161220-09:40:41.891(-2)? (STDERR) at require (packages\modules-runtime.js:106:16) W20161220-09:40:41.891(-2)? (STDERR) at packages\babel-runtime.js:139:15 W20161220-09:40:41.893(-2)? (STDERR) at packages\babel-runtime.js:150:3 W20161220-09:40:41.894(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:295:34 W20161220-09:40:41.895(-2)? (STDERR) at Array.forEach (native) W20161220-09:40:41.896(-2)? (STDERR) at Function..each..forEach (C:\Users\Rodrigo\AppData\Local.meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) W20161220-09:40:41.898(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:128:5 W20161220-09:40:41.899(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:344:5 => Exited with code: 1 W20161220-09:40:46.418(-2)? (STDERR) C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:348 W20161220-09:40:46.419(-2)? (STDERR) }).run(); W20161220-09:40:46.420(-2)? (STDERR) ^ W20161220-09:40:46.420(-2)? (STDERR) W20161220-09:40:46.421(-2)? (STDERR) Error: The babel-runtime npm package could not be found in your node_modules W20161220-09:40:46.421(-2)? (STDERR) directory. Please run the following command to install it: W20161220-09:40:46.422(-2)? (STDERR) W20161220-09:40:46.422(-2)? (STDERR) meteor npm install --save babel-runtime W20161220-09:40:46.422(-2)? (STDERR) W20161220-09:40:46.423(-2)? (STDERR) at meteorInstall.node_modules.meteor.babel-runtime.babel-runtime.js (packages\babel-runtime.js:37:9) W20161220-09:40:46.423(-2)? (STDERR) at fileEvaluate (packages\modules-runtime.js:181:9) W20161220-09:40:46.423(-2)? (STDERR) at require (packages\modules-runtime.js:106:16) W20161220-09:40:46.424(-2)? (STDERR) at packages\babel-runtime.js:139:15 W20161220-09:40:46.424(-2)? (STDERR) at packages\babel-runtime.js:150:3 W20161220-09:40:46.425(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:295:34 W20161220-09:40:46.425(-2)? (STDERR) at Array.forEach (native) W20161220-09:40:46.425(-2)? (STDERR) at Function..each._.forEach (C:\Users\Rodrigo\AppData\Local.meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11) W20161220-09:40:46.426(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:128:5 W20161220-09:40:46.426(-2)? (STDERR) at C:\Users\Rodrigo\Desktop\ALURA\Meteor\Tasklist.meteor\local\build\programs\server\boot.js:344:5 => Exited with code: 1 => Your application is crashing. Waiting for file change.

Qual é a versão do Meteor que você está utilizando?

Pesquisando um pouco sobre o erro, vi que foi relatado nas issues lá na página do Meteor no Github. Tenta usar esses comandos:

meteor update

e

meteor npm install --save babel-runtime

Fonte da solução: https://github.com/meteor/meteor/issues/8032#issuecomment-259431609

A partir das versão 1.4 é o próprio meteor pede q vc dê um

meteor npm install

Logo após a criação do projeto