[SOLVED] Problem running meteor app - error "While loading package webapp@1.11.0"

I’ve just started Cousera’s " Introduction to Meteor.js Development" course. I’m on a win10 machine. Have installed Meteor, Node, VS. I created a new test app (“meteor create dom_test”) and then entered the ‘meteor’ command to run the app. Then got the following error messages. I’m quite new to programming so have very little clue what most of the message means and I can’t make any progress. Any help greatly appreciated, thanks

C:\Users\User\dev\dom_test>meteor
[[[[[ C:\Users\User\dev\dom_test ]]]]]

=> Started proxy.
=> Started HMR server.
=> Started MongoDB.
=> Errors prevented startup:

While loading package webapp@1.11.0:
error: Command failed: C:\WINDOWS\system32\cmd.exe /c
C:\Users\User\AppData\Local.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\bin\npm.cmd
rebuild --update-binary
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit
(C:\Users\User\AppData\Local.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:375:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command
“C:\Users\User\AppData\Local\.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\bin\node.exe”
“C:\Users\User\AppData\Local\.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js”
“rebuild”
gyp ERR! cwd
C:\Users\User\AppData\Local.meteor\packages\webapp\1.11.0\npm\node_modules.temp-sce1hu.5yszl\node_modules\posix
gyp ERR! node -v v14.17.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! posix@4.2.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the posix@4.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2021-06-24T17_41_33_054Z-debug.log
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit
(C:\Users\User\AppData\Local.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:375:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command
“C:\Users\User\AppData\Local\.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\bin\node.exe”
“C:\Users\User\AppData\Local\.meteor\packages\meteor-tool\2.3.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js”
“rebuild”
gyp ERR! cwd
C:\Users\User\AppData\Local.meteor\packages\webapp\1.11.0\npm\node_modules.temp-sce1hu.5yszl\node_modules\posix
gyp ERR! node -v v14.17.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! posix@4.2.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the posix@4.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2021-06-24T17_41_33_054Z-debug.log

=> Your application has errors. Waiting for file change.

3 Likes

try to delete all the project files that you created, and create a new one. Helped me

Hello, this version of webapp package was broken in Windows.

This is already fixed.

Please try again and let me know if you have any issues.