Problems getting the first to-do list tutorial working


#1

I am following the website tutorial instructions on the blaze to do list tutorial but I’m already encountering errors.

Step 1: meteor create [program name] … tick
Step 2: cd [program name]… tick
Step 3: meteor npm install… hmm first documentation discrepancy found. When running the “meteor create” function via CLI it does not include this statement (it simply says on CLI… To run your new app: “cd desk-booker” and “meteor”). Why is that. Anyhow.
Step 4: meteor… eh encountered problems.

Output is the following:

While processing files with ecmascript (for target web.browser):
module.js:338:15: Cannot find module 'babel-helper-function-name’
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
(C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\node_modules\babel-preset-meteor\node_modules\babel-plugin-transform-es2015-classes\lib\loose.js:17:56)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Module.Mp.load (C:\Users—\AppData\Local.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\reify\node\runtime.js:16:23)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
(C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\node_modules\babel-preset-meteor\node_modules\babel-plugin-transform-es2015-classes\lib\index.js:56:38)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Module.Mp.load (C:\Users—\AppData\Local.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\reify\node\runtime.js:16:23)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
(C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\node_modules\babel-preset-meteor\index.js:12:6)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Module.Mp.load (C:\Users—\AppData\Local.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\reify\node\runtime.js:16:23)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.getDefaults (C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\options.js:30:15)
at Object.getDefaultOptions (packages/babel-compiler/babel.js:9:1)
at BabelCompiler.BCp.processOneFileForTarget (packages/babel-compiler/babel-compiler.js:95:1)
at BabelCompiler. (packages/babel-compiler/babel-compiler.js:21:1)
at Array.forEach (native)
at BabelCompiler.BCp.processFilesForTarget (packages/babel-compiler/babel-compiler.js:20:1)

While processing files with ecmascript (for target os.windows.x86_32):
module.js:338:15: Cannot find module 'babel-helper-function-name’
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
(C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\node_modules\babel-preset-meteor\node_modules\babel-plugin-transform-es2015-classes\lib\loose.js:17:56)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Module.Mp.load (C:\Users—\AppData\Local.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\reify\node\runtime.js:16:23)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
(C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\node_modules\babel-preset-meteor\node_modules\babel-plugin-transform-es2015-classes\lib\index.js:56:38)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Module.Mp.load (C:\Users—\AppData\Local.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\reify\node\runtime.js:16:23)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.
(C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\node_modules\babel-preset-meteor\index.js:12:6)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Module.Mp.load (C:\Users—\AppData\Local.meteor\packages\meteor-tool\1.3.3_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\reify\node\runtime.js:16:23)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.getDefaults (C:\Users—\AppData\Local.meteor\packages\ecmascript\0.4.5\plugin.compile-ecmascript.os\npm\node_modules\meteor\babel-compiler\node_modules\meteor-babel\options.js:30:15)
at Object.getDefaultOptions (packages/babel-compiler/babel.js:9:1)
at BabelCompiler.BCp.processOneFileForTarget (packages/babel-compiler/babel-compiler.js:95:1)
at BabelCompiler. (packages/babel-compiler/babel-compiler.js:21:1)
at Array.forEach (native)
at BabelCompiler.BCp.processFilesForTarget (packages/babel-compiler/babel-compiler.js:20:1)

Finishes with the following “Your application has errors. Waiting for file change.”

How do I resolve this.

Thanks.


#2

Ok in frustration I did a full uninstall of Meteor and then reinstalled the software and it worked.

This begs the question of how the Meteor install routine works as I had run that numerous times, without an uninstall first, to try and resolve this problem prior to forum post.

Maybe there should be a user question at the beginning of the installation routine that if the installation routine detects a previous install it offers the user a choice for a full reinstall, as it appears the installation routine skipped over things assuming all was correct.