我想从某些IDE运行流星应用程序,以便我可以调试服务器端代码。 目前我已经在Webstorm上设置了流星应用程序。当我尝试运行该应用程序时,我收到以下错误消息。真的很感谢你的帮助。
/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle /lib/node_modules/fibers/future.js:173 扔(除息); ^错误:EACCES,权限被拒绝' /Users/jackal/rschtml5/ageroRSCHTML/.meteor/local/build' at Object.fs.renameSync(fs.js:548:18) 在Object.files.renameDirAlmostAtomically(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/ files.js:644:8) 在_.extend.complete(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/ builder.js:485:11) at writeSiteArchive(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools /bundler.js:1836:13) at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler .js文件:2206:20 at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage的.js:250:13 at _.extend.withValue(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/纤维helpers.js:112:14) at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage .js文件:243:29 at _.extend.withValue(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/纤维helpers.js:112:14) at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage的.js:241:18 at _.extend.withValue(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/纤维helpers.js:112:14) at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage的.js:232:23 at _.extend.withValue(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/纤维helpers.js:112:14) at Object.capture(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64 /tools/buildmessage.js:231:19) at Object.exports.bundle(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/ bundler.js:1926年:31) 在bundleApp(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools /run-app.js:509:28) 在_.extend._runOnce(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/运行app.js:527:24) 在_.extend._fiber(/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx .x86_64 /工具/运行app.js:744:28) at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run -app.js:380:12
答案 0 :(得分:0)
我不确定我的答案是否符合您的具体情况:我遇到类似的问题,原因是npm
权限,我必须以root身份运行meteor:sudo meteor
我在您的粘贴中看到:Error: EACCES, permission denied '/Users/jackal/rschtml5/ageroRSCHTML/.meteor/local/build' at Object.fs.renameSync
有些许可是错误的。我通常在WebStorm中使用终端,而不是内置的构建和运行。可能你没有注意到因为你是根。尝试创建新用户并运行meteor create testProject
。我在Meteor安装上遇到了这个问题。
编辑: 检查这些链接是否能解决您的问题: