Windows 8.1 出现流星错误:您的应用程序有错误.等待文件更改 [英] Meteor error with windows 8.1: your application has errors. waiting for file change

查看:43
本文介绍了Windows 8.1 出现流星错误:您的应用程序有错误.等待文件更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建 &win 8.1 pc 上的朗姆酒流星应用程序我做了什么,我使用官方流星安装程序安装流星我在所需的路径上运行以下命令

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

没关系然后 cd myapp这也没关系

this was ok then cd myapp this was also ok

但是当我运行命令meteor来运行应用程序时,我得到以下错误

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.

我搜索了但没有找到 Windows 的具体结果.

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

推荐答案

基于此问题的答案 https://github.com/meteor/meteor/issues/6609 你需要:

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

  • 转到C:\Users\username\AppData\Local.meteor\packages"
  • 将导致问题的包移动到另一个文件夹,因为由于文件名较长(模板、模板工具、ecmascript、标准缩小器 CSS),您将无法在 Windows 上删除它们
  • 删除文件后,您可以运行meteor npm install",然后运行meteor"

我已经测试过了,它对我有用.

I have tested and it works for me.

这篇关于Windows 8.1 出现流星错误:您的应用程序有错误.等待文件更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆