meteorbb
meteorbb copied to clipboard
共享第一次启动时遇到的错误
进入工程目录,输入meteor
后报的错误
[[[[[ ~/meteor-project/meteorbb ]]]]]
=> Started proxy.
=> Started MongoDB.
telescope-post-by-feed: updating npm dependencies -- htmlparser2, to-markdown, he...
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm ERR! Error: EACCES, mkdir '/Users/chenkai/.npm/htmlparser2/3.8.2'
**npm ERR! { [Error: EACCES, mkdir '/Users/chenkai/.npm/htmlparser2/3.8.2']**
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users/chenkai/.npm/htmlparser2/3.8.2',
npm ERR! parent: 'packages-for-meteor-smartpackage-1go6v56' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 14.1.0
npm ERR! command "/Users/chenkai/.meteor/packages/meteor-tool/.1.0.43.1m7t19++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/chenkai/.meteor/packages/meteor-tool/.1.0.43.1m7t19++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "install"
npm ERR! cwd /Users/chenkai/meteor-project/meteorbb/packages/telescope-post-by-feed/.npm/package-new-l2uys7
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path /Users/chenkai/.npm/htmlparser2/3.8.2
npm ERR! code EACCES
npm ERR! errno 3
**npm ERR! stack Error: EACCES, mkdir '/Users/chenkai/.npm/htmlparser2/3.8.2'**
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/chenkai/meteor-project/meteorbb/packages/telescope-post-by-feed/.npm/package-new-l2uys7/npm-debug.log
npm ERR! not ok code 0
=> Errors prevented startup:
While building package telescope-post-by-feed:
**error: couldn't install npm packages from npm-shrinkwrap**
=> Your application has errors. Waiting for file change.
提示错误:权限不足
npm ERR! stack Error: EACCES, mkdir '/Users/chenkai/.npm/htmlparser2/3.8.2'
解决方案:sudo meteor
(该方案验证后不可行)
更新方案
- 一开始,安装时,出现mongo启动失败,查看自己本地mongod服务启动了没有。
- 如果安装出现问题,删除当前工程,重新download,meteor启动,等待时间稍微长一点。
sudo meteor?
更新方案
- 一开始,安装时,出现mongo启动失败,查看自己本地mongod服务启动了没有。
- 如果安装出现问题,删除当前工程,重新download,
meteor
启动,等待时间稍微长一点。