Dinesh
Dinesh

Reputation: 855

Meteor error with windows 8.1: your application has errors. waiting for file change

I am trying to create & rum meteor app on win 8.1 pc what I done, I install meteor using official Meteor installer I run following commands at desired path

meteor create myapp

this was ok then cd myapp this was also ok

but when I run command meteor to run the app, I got following result with error

[[[[[ ~\F\meteor\resolutions ]]]]]

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

   While loading plugin `compileTemplatesBatch` from packag
   module.js:338:15: Cannot find module
   '../modules/es6.object.get-own-property-descriptor'
   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.<anonymous> (C:\Users\Dinesh
   Singh\AppData\Local\.meteor\packages\templating\1.1.7\pl
Batch.os\npm\node_modules\meteor\ecmascript-runtime\node_mo
pt-runtime\node_modules\meteor-ecmascript-runtime\node_modu
t.js:12:1)
   at Module._compile (module.js:456:26)
   at Object.Module._extensions..js (module.js:474:10)
   at Module.load (module.js:356:32)
   at Function.Module._load (module.js:312:12)
   at Module.require (module.js:364:17)
   at require (module.js:380:17)
   at Object.<anonymous> (C:\Users\Dinesh
   Singh\AppData\Local\.meteor\packages\templating\1.1.7\pl
Batch.os\npm\node_modules\meteor\ecmascript-runtime\node_mo
pt-runtime\node_modules\meteor-ecmascript-runtime\server.js
   at Module._compile (module.js:456:26)
   at Object.Module._extensions..js (module.js:474:10)
   at Module.load (module.js:356:32)
   at Function.Module._load (module.js:312:12)
   at Module.require (module.js:364:17)
   at require (module.js:380:17)
   at npmRequire (C:\tools\isobuild\bundler.js:1665:14)
   at Module.useNode (packages/modules-runtime.js:453:20)
   at fileEvaluate (packages/modules-runtime.js:157:20)
   at require (packages/modules-runtime.js:92:16)
   at meteorInstall.node_modules.meteor.ecmascript-runtime.
   (packages/ecmascript-runtime.js:24:18)
   at fileEvaluate (packages/modules-runtime.js:158:9)
   at require (packages/modules-runtime.js:92:16)
   at packages/ecmascript-runtime.js:2832:15
   at packages/ecmascript-runtime.js:2845:3


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

I search over the but didn't find specific result for windows.

Upvotes: 1

Views: 2946

Answers (4)

James Tankersley Jr
James Tankersley Jr

Reputation: 1

The following fix worked for me:

Uninstall meteor from Windows (Programs and Features). Install meteor (https://www.meteor.com/install) Create a new Project (https://www.meteor.com/tutorials/blaze/creating-an-app)

Upvotes: 0

Abdiel
Abdiel

Reputation: 41

I just removed all packages (withaout meteor) from AppData\Local.meteor\packages and run my app again. Meteor downloaded all packeges and now it is working.

Upvotes: 0

zied.abaoub
zied.abaoub

Reputation: 56

Based on answers from this issue https://github.com/meteor/meteor/issues/6609 you need to :

  • Go to "C:\Users\username\AppData\Local.meteor\packages"
  • Move the packages causing the issue to another folder as you won't be able to delete them on windows due to long file names (templating, templating-tools, ecmascript, standard-minifier-css)
  • once the file deleted you can run "meteor npm install" then "meteor"

I have tested and it works for me.

Upvotes: 2

Sudhakar p
Sudhakar p

Reputation: 41

As the latest version got this problem, use previous version to create a sample app like this,

meteor create --release 1.2.1 test-app
cd test-app
meteor

found on : https://github.com/meteor/meteor/issues/6609

Upvotes: 4

Related Questions