Meteor 1.2.0.2-x27;t在Windows 10上运行tasklist.exe
我最近刚下载了meteor,并开始了第一个教程,让你列出待办事项。在运行我的代码时,弹出命令提示符,出现以下错误:Meteor 1.2.0.2-x27;t在Windows 10上运行tasklist.exe,meteor,tasklist,Meteor,Tasklist,我最近刚下载了meteor,并开始了第一个教程,让你列出待办事项。在运行我的代码时,弹出命令提示符,出现以下错误: Microsoft Windows [Version 10.0.10240] (c) 2015 Microsoft Corporation. All rights reserved. C:\Users\Rhys>cd ./desktop/simple-todos C:\Users\Rhys\Desktop\simple-todos>meteor [[[[[ C:\U
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\Rhys>cd ./desktop/simple-todos
C:\Users\Rhys\Desktop\simple-todos>meteor
[[[[[ C:\Users\Rhys\Desktop\simple-todos ]]]]]
=> Started proxy.
C:\Users\Rhys\AppData\Local\.meteor\packages\meteor-tool\1.1.9\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\Rhys\AppData\Local\.meteor\packages\meteor-t
ool\1.1.9\mt-os.windows.x86_32\dev_bundle\lib\node_modules\fibers\future.js:398:
15)
at findMongoPids (C:\tools\runners\run-mongo.js:134:16)
at findMongoAndKillItDead (C:\tools\runners\run-mongo.js:279:14)
at launchOneMongoAndWaitForReadyForInitiate (C:\tools\runners\run-mongo.js:4
00:7)
at launchMongo (C:\tools\runners\run-mongo.js:656:7)
at [object Object]._.extend._startOrRestart (C:\tools\runners\run-mongo.js:7
56:19)
at [object Object]._.extend.start (C:\tools\runners\run-mongo.js:714:10)
at C:\tools\runners\run-all.js:168:26
- - - - -
at C:\tools\runners\run-mongo.js:84: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:\Users\Rhys\Desktop\simple-todos>
我进入了位置C:\Windows\System32,tasklist.exe确实在那里
我在网上做了很多尝试,但都找不到明确的答案。我还试着重新安装程序,但也没有成功
如果你能帮助我,我会非常感激的。
谢谢。确保您的system32文件夹存储在环境变量中的
路径下。此env变量告诉Windows和后续命令行参数,如果工作目录中不存在命令(.exe.bat.cmd),请检查path
变量中的目录是否存在。这是命令行命令(如ipconfig
在任何目录下的工作方式。请发布您从终端收到的确切错误。@ChristopherMarshall我尝试发布一张图片,但我需要“10信誉”来发布和映像(根据StackOverflow)。如果打开命令提示符,请从根目录,你能键入tasklist.exe然后运行吗?@Wobbles是的does@Wobbles,只是检查了根的定义,并错误地理解了它是什么。我再次运行它(在实际的根目录中),它会弹出,说它不能被识别为可操作的程序或批处理文件。