无法在 win 8.1 笔记本电脑上安装meteor 1.3 [英] Unable to install meteor 1.3 on win 8.1 laptop

查看:54
本文介绍了无法在 win 8.1 笔记本电脑上安装meteor 1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个新手,但已经能够在 Meteor/mongodb/iron 路由器等中安装和编程,并在过去几个月中在 Win 10 桌面上运行的 Meteor 1.2.1 上部署到 Galaxy.幸运的是我没有更新它,因为当我尝试在 Win 8.1 笔记本电脑上安装时,我遇到了很多问题并且完全卡住了.以下是问题:

I'm a newbie, but have been able to install and program in Meteor/mongodb/iron router etc and deploy to Galaxy over the last few months on Meteor 1.2.1 running on a win 10 desktop. Fortunately I haven't updated it, because when I tried to install on a Win 8.1 laptop I ran into many problems and am completely stuck. Here are the problems:

  1. 运行meteor create"会创建,即使对于由meteor设置的示例项目,具有import"语句的javascript文件……Webstorm表示当前版本的javascript不支持它们.

  1. running "meteor create " creates, even for sample projects set up by meteor, javascript files that have "import" statements…and Webstorm says the current version of javascript doesn't support them.

当我尝试在项目目录中执行meteor run"时,它会在尝试下载meteor-tool@1.1.9时永远停止……但是,如果我首先执行meteor npm",则不会发生这种情况安装"在示例项目目录之一中.它会运行,但我认为它会在尝试编译导入"语句时失败(我将在下面粘贴一些控制台错误).至少可以说,它们对我来说并不是很有启发性.

When I try to execute "meteor run" in a project directory, it stalls forever trying to download meteor-tool@1.1.9... however, that doesn't happen if I first do "meteor npm install" in one of the sample project directories. It will run, but it then I think it dies trying to compile the "import" statements (I'll paste some of the console errors below). They are not very revealing to me, to say the least.

不那么重要,但安装后,Meteor 无法识别我的 Meteor 开发帐户,并且我创建的任何新帐户都会在后续重新安装时被遗忘,即使它们每次都用完一个电子邮件地址.警告语句中的登录失败"是唯一的解释.

Not as important, but after the install, Meteor can't recognize my meteor dev account, and any new ones I create get forgotten for a subsequent reinstall, even though they use up an email address each time. "Login failed" in an alert statement is the only explanation.

我苦苦搜索了这些各种错误(找到一个对失速问题没有帮助的),但我认为更大的问题是所有我不知道的魔法配置项是否正确.我当然已经卸载并重新安装;我已经重新启动;我使用了 webstorm 11,并将 webstorm 的配置与在 win 10 机器上运行的配置进行了比较,就库而言,都是一样的.

I have searched hard for these various errors (found one unhelpful one on the stall problem), but I think the bigger problem is all the magic configuration items that I have no idea are correct or not. I have of course uninstalled and reinstalled; I've rebooted; I've used webstorm 11, and compared webstorm's config with the one running on the win 10 machine as far as libraries, all the same.

非常感谢您的帮助——我想继续带着笔记本电脑在旅途中进行开发,总有一天我不得不将 Meteor 更新到 1.3,尽管我很害怕.

I'd appreciate any help-- I'd like to continue developing on a trip with the laptop, and someday I will have to update Meteor to 1.3, though I dread it.

C:\Users\bardrichmond\to-dos>meteor run
[[[[[ C:\Users\bardrichmond\to-dos ]]]]]

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

   While loading plugin `compileTemplatesBatch` from package `templating`:
   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\bardrichmond\AppData\Local\.meteor\packages\templating\1.1.7\plugin
.compileTemplatesBatch.os\npm\node_modules\meteor\ecmascript-runtime\node_module
s\meteor\ecmascript-runtime\node_modules\meteor-ecmascript-runtime\node_modules\
core-js\es6\object.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\bardrichmond\AppData\Local\.meteor\packages\templating\1.1.7\plugin
.compileTemplatesBatch.os\npm\node_modules\meteor\ecmascript-runtime\node_module
s\meteor\ecmascript-runtime\node_modules\meteor-ecmascript-runtime\server.js:1: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 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.runtime.js
   (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.
Terminate batch job (Y/N)? y

C:\Users\bardrichmond\to-dos>

推荐答案

  1. 导航到C:\Users\youruser\AppData\Local.meteor\packages"
  2. 完全删除问题包文件夹(模板、ecmascript、标准-minifier-css、coffeescript)
  3. 运行您的终端窗口.
  4. 确保您的终端位于应用程序所在的正确目录中位于.
  5. 运行流星更新"
  6. 运行meteor"并耐心等待它尝试下载缺少软件包,这可能需要一段时间.

归功于:github 流星问题

这篇关于无法在 win 8.1 笔记本电脑上安装meteor 1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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