无法在本地运行流星应用程序 Windows 7 [英] Unable to run meteor app locally windows 7
问题描述
我在从命令提示符行运行我的应用程序时遇到问题.我不习惯从终端运行应用程序等.我会告诉你我在下面得到了什么.
I'm having trouble running my app from the command prompt line. I'm not used to running apps, etc. from the terminal. I'll show you what I get below.
C:\Windows\system32>meteor create newapp
newapp: created.
To run your new app:
cd newapp
meteor
C:\Windows\system32>cd newapp/meteor
The system cannot find the path specified.
C:\Windows\system32>cd newapp
C:\Windows\system32>meteor
run: You're not in a Meteor project directory.
我打错了吗?我究竟做错了什么.我按照他们网站上的教程进行操作,但仍然无法运行.此外,该应用程序甚至还没有被创建,我在我的系统上找不到它?
Am I typing it in wrong? What am I doing wrong. I followed the tutorial on their website and still unable to run it. Also, the app isn't even being created, I can't find it on my system?
现在当我尝试运行它时,我收到此错误任务列表错误
Now when I try to run it, I'm getting this error Tasklist error
=> Started proxy.
C:\Users\user\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86
_32\dev_bundle\lib\node_modules\fibers\future.js:278
throw(ex);
^
Error: Couldn't run tasklist.exe: tasklist wasn't found on your system, it usual
ly can be found at C:\Windows\System32\.
at Object.Future.wait (C:\Users\user\AppData\Local\.meteor\packages\meteor-t
ool\1.1.3\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fibers\future.js:398:
15)
at findMongoPids (C:\Users\user\AppData\Local\.meteor\packages\meteor-tool\1
.1.3\mt-os.windows.x86_32\tools\run-mongo.js:120:16)
at findMongoAndKillItDead (C:\Users\user\AppData\Local\.meteor\packages\mete
or-tool\1.1.3\mt-os.windows.x86_32\tools\run-mongo.js:236:14)
at launchOneMongoAndWaitForReadyForInitiate (C:\Users\user\AppData\Local\.me
teor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\tools\run-mongo.js:360:7)
at launchMongo (C:\Users\user\AppData\Local\.meteor\packages\meteor-tool\1.1
.3\mt-os.windows.x86_32\tools\run-mongo.js:612:7)
at [object Object]._.extend._startOrRestart (C:\Users\user\AppData\Local\.me
teor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\tools\run-mongo.js:712:19)
at [object Object]._.extend.start (C:\Users\user\AppData\Local\.meteor\packa
ges\meteor-tool\1.1.3\mt-os.windows.x86_32\tools\run-mongo.js:670:10)
at C:\Users\user\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.wind
ows.x86_32\tools\run-all.js:199:26
- - - - -
at C:\Users\user\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.wind
ows.x86_32\tools\run-mongo.js:73:24
at exithandler (child_process.js:654:7)
at ChildProcess.errorhandler (child_process.js:670:5)
at ChildProcess.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:818:12)
推荐答案
您不想在 C:\Windows\system32 文件夹中创建任何内容.这可能是未创建您的应用程序的原因.
You don't want to create anything in the C:\Windows\system32 folder. This is probably the reason why your application is not created.
在其他地方创建一个目录,专门用于您的开发.以 C:\Dev、C:\Projects 为例.
Create a directory somewhere else, dedicated to your developments. C:\Dev, C:\Projects for exemple.
然后,转到您的目录,按住 Shift 键并单击鼠标右键,上下文菜单应包含在此处打开命令窗口".
Then, go to your directory, hold down the Shift key and right-click, the context menu should contain "Open command window here".
然后,您可以运行您的流星命令.
Then, you can run your meteor commands.
这篇关于无法在本地运行流星应用程序 Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!