Can't run any meteor app anymore - Windows 7

Hi peeps,

I don’t know why, but I can’t run any meteor apps anymore.

I am getting this error in console.

Btw, this was my previous problem https://github.com/meteor/meteor/issues/7524

[[[[[ C:\Users\shtefcs\moonly2 ]]]]]

=> Started proxy.
=> Started MongoDB.
W20160801-16:46:57.115(2)? (STDERR)
W20160801-16:46:57.398(2)? (STDERR) C:\Users\shtefcs\AppData\Local\.meteor\packa
ges\meteor-tool\1.3.5_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\
fibers\future.js:280
W20160801-16:46:57.399(2)? (STDERR)
throw(ex);
W20160801-16:46:57.400(2)? (STDERR)
      ^
W20160801-16:46:57.401(2)? (STDERR) Error: Cannot find module 'fbjs/lib/invarian
t'
W20160801-16:46:57.402(2)? (STDERR)     at Function.Module._resolveFilename (mod
ule.js:338:15)
W20160801-16:46:57.404(2)? (STDERR)     at Function.Module._load (module.js:280:
25)
W20160801-16:46:57.406(2)? (STDERR)     at Module.require (module.js:364:17)
W20160801-16:46:57.408(2)? (STDERR)     at require (module.js:380:17)
W20160801-16:46:57.409(2)? (STDERR)     at Object.<anonymous> (C:\Users\shtefcs\
moonly2\node_modules\react\lib\PooledClass.js:16:17)
W20160801-16:46:57.410(2)? (STDERR)     at Module._compile (module.js:456:26)
W20160801-16:46:57.411(2)? (STDERR)     at Object.Module._extensions..js (module
.js:474:10)
W20160801-16:46:57.412(2)? (STDERR)     at Module.load (module.js:356:32)
W20160801-16:46:57.413(2)? (STDERR)     at Module.Mp.load (C:\Users\shtefcs\AppD
ata\Local\.meteor\packages\babel-compiler\6.8.5\npm\node_modules\reify\node\runt
ime.js:16:23)
W20160801-16:46:57.414(2)? (STDERR)     at Function.Module._load (module.js:312:
12)
=> Exited with code: 8
W20160801-16:47:12.242(2)? (STDERR)
W20160801-16:47:12.248(2)? (STDERR) C:\Users\shtefcs\AppData\Local\.meteor\packa
ges\meteor-tool\1.3.5_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\
fibers\future.js:280
W20160801-16:47:12.249(2)? (STDERR)
throw(ex);
W20160801-16:47:12.257(2)? (STDERR)
      ^
W20160801-16:47:12.261(2)? (STDERR) Error: Cannot find module 'fbjs/lib/invarian
t'
W20160801-16:47:12.263(2)? (STDERR)     at Function.Module._resolveFilename (mod
ule.js:338:15)
W20160801-16:47:12.264(2)? (STDERR)     at Function.Module._load (module.js:280:
25)
W20160801-16:47:12.264(2)? (STDERR)     at Module.require (module.js:364:17)
W20160801-16:47:12.266(2)? (STDERR)     at require (module.js:380:17)
W20160801-16:47:12.266(2)? (STDERR)     at Object.<anonymous> (C:\Users\shtefcs\
moonly2\node_modules\react\lib\PooledClass.js:16:17)
W20160801-16:47:12.267(2)? (STDERR)     at Module._compile (module.js:456:26)
W20160801-16:47:12.268(2)? (STDERR)     at Object.Module._extensions..js (module
.js:474:10)
W20160801-16:47:12.268(2)? (STDERR)     at Module.load (module.js:356:32)
W20160801-16:47:12.269(2)? (STDERR)     at Module.Mp.load (C:\Users\shtefcs\AppD
ata\Local\.meteor\packages\babel-compiler\6.8.5\npm\node_modules\reify\node\runt
ime.js:16:23)
W20160801-16:47:12.271(2)? (STDERR)     at Function.Module._load (module.js:312:
12)
W20160801-16:47:12.271(2)? (STDERR)     at Module.require (module.js:364:17)
W20160801-16:47:12.272(2)? (STDERR)     at require (module.js:380:17)
=> Exited with code: 8
W20160801-16:47:26.628(2)? (STDERR)
W20160801-16:47:26.630(2)? (STDERR) C:\Users\shtefcs\AppData\Local\.meteor\packa
ges\meteor-tool\1.3.5_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\
fibers\future.js:280
W20160801-16:47:26.637(2)? (STDERR)
throw(ex);
W20160801-16:47:26.640(2)? (STDERR)
      ^
W20160801-16:47:26.641(2)? (STDERR) Error: Cannot find module 'fbjs/lib/invarian
t'
W20160801-16:47:26.642(2)? (STDERR)     at Function.Module._resolveFilename (mod
ule.js:338:15)
W20160801-16:47:26.642(2)? (STDERR)     at Function.Module._load (module.js:280:
25)
W20160801-16:47:26.643(2)? (STDERR)     at Module.require (module.js:364:17)
W20160801-16:47:26.645(2)? (STDERR)     at require (module.js:380:17)
W20160801-16:47:26.648(2)? (STDERR)     at Object.<anonymous> (C:\Users\shtefcs\
moonly2\node_modules\react\lib\PooledClass.js:16:17)
W20160801-16:47:26.649(2)? (STDERR)     at Module._compile (module.js:456:26)
W20160801-16:47:26.651(2)? (STDERR)     at Object.Module._extensions..js (module
.js:474:10)
W20160801-16:47:26.652(2)? (STDERR)     at Module.load (module.js:356:32)
W20160801-16:47:26.655(2)? (STDERR)     at Module.Mp.load (C:\Users\shtefcs\AppD
ata\Local\.meteor\packages\babel-compiler\6.8.5\npm\node_modules\reify\node\runt
ime.js:16:23)
W20160801-16:47:26.656(2)? (STDERR)     at Function.Module._load (module.js:312:
12)
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

@shtefcs howdy? Did you just update you meteor installation to v1.4? If so then you might need to scrap the old database, meteor reset , do this if it’s your development database and you don’t need the data.

I believe it has to do with the new upgrade to MongoDB v3.2. You can find more detail in the 1.4 migration guide.

Hey @tsega how are you my friend :).

No, I didn’t update on latest meteor version, i am still on 1.3.5.1 .

What packages are you using? If you’re using npm packages it sometimes requires that you get rid of the node_modules folder and do a fresh meteor npm install --save.

@tsegais node_modules folder located at the C:\Users\shtefcs\AppData\Local\.meteor\packa ges\meteor-tool\1.3.5_1\mt-os.windows.x86_32\dev_bundle\server-lib\ ?

Btw, I deleted it in location above.

When i run npm install --save i get this error:

[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\shtefcs\\AppData\\Local\\.meteor\\packages\\meteor-too
l\\1.3.5_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe" "C:\\Users\\shtef
cs\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.5_1\\mt-os.windows.x86_3
2\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save"
npm ERR! node v0.10.46
npm ERR! npm  v3.10.5
npm ERR! code 128

npm ERR! Command failed: fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\shtefcs\moonly2\npm-debug.log

@shtefcs the node_modules folder should be right within your application folder at the top level along with the client and server folders.

It looks like you have deleted the meteor installation node_modules folder which means you would need to re-install meteor. That’s why you are getting the above error.

Be sure to remove it first with the uninstaller first.

@tsega

I just restored deleted node_modules folder and deleted it from the app app folder.

It’s give same error:

[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command
[      ............] - fetchMetadata: sill fetchPackageMetaData Error: Command

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\shtefcs\\AppData\\Local\\.meteor\\packages\\meteor-too
l\\1.3.5_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe" "C:\\Users\\shtef
cs\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.5_1\\mt-os.windows.x86_3
2\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save"
npm ERR! node v0.10.46
npm ERR! npm  v3.10.5
npm ERR! code 128

npm ERR! Command failed: fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\shtefcs\moonly2\npm-debug.log


I reinstalled meteor few times already, not sure what I can do anymore ?

Some quick google searches show that the issue might be related to permissions on windows while running your command line application. What are you using, GitBash or PowerShell? Either way try running the application in administrator mode.

Another possibility is if you’re behind a proxy, try to see if you can access https://registry.npmjs.org. Let me know how this turn out.

Tsega, I am using Git CMD.

I go this when visiting https://registry.npmjs.org

{"db_name":"registry","doc_count":366411,"doc_del_count":354,"update_seq":2122340,"purge_seq":0,"compact_running":false,"disk_size":1752376995,"data_size":1428571061,"instance_start_time":"1470131767611224","disk_format_version":6,"committed_update_seq":2122339}

I tried to run as administrator the Git CMD console and did meteor npm install --save but no luck, getting this error:

[      ............] \ fetchMetadata: verb correctMkdir C:\Users\shtefcs\AppDat
[      ............] | fetchMetadata: verb correctMkdir C:\Users\shtefcs\AppDat
[      ............] / fetchMetadata: verb correctMkdir C:\Users\shtefcs\AppDat
[      ............] \ fetchMetadata: verb correctMkdir C:\Users\shtefcs\AppDat

npm ERR! git submodule -q update --init --recursive: fatal: 'submodule' appears
to be a git command, but we were not
npm ERR! git submodule -q update --init --recursive: able to execute it. Maybe g
it-submodule is broken?
npm ERR! git submodule -q update --init --recursive:
npm ERR! git submodule -q update --init --recursive: fatal: 'submodule' appears
to be a git command, but we were not
npm ERR! git submodule -q update --init --recursive: able to execute it. Maybe g
it-submodule is broken?
npm ERR! git submodule -q update --init --recursive:
npm ERR! git submodule -q update --init --recursive: fatal: 'submodule' appears
to be a git command, but we were not
npm ERR! git submodule -q update --init --recursive: able to execute it. Maybe g
it-submodule is broken?
npm ERR! git submodule -q update --init --recursive:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\shtefcs\\AppData\\Local\\.meteor\\packages\\meteor-too
l\\1.3.5_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe" "C:\\Users\\shtef
cs\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.5_1\\mt-os.windows.x86_3
2\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save"
npm ERR! node v0.10.46
npm ERR! npm  v3.10.5
npm ERR! code 128

npm ERR! Command failed: fatal: 'submodule' appears to be a git command, but we
were not
npm ERR! able to execute it. Maybe git-submodule is broken?
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\shtefcs\moonly2\npm-debug.log

It would appear that your actual Git installation (not Meteor, at all) is severely corrupted. I would reinstall the Git Windows bundle ensuring that you are installing the correct version. Then, reboot your whole computer to ensure that your PATH is refreshed and hope for the best.