Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

共享第一次启动时遇到的错误 #3

Open
chenkaiC4 opened this issue Mar 19, 2015 · 2 comments
Open

共享第一次启动时遇到的错误 #3

chenkaiC4 opened this issue Mar 19, 2015 · 2 comments

Comments

@chenkaiC4
Copy link
Contributor

进入工程目录,输入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(该方案验证后不可行)

更新方案

  1. 一开始,安装时,出现mongo启动失败,查看自己本地mongod服务启动了没有。
  2. 如果安装出现问题,删除当前工程,重新download,meteor启动,等待时间稍微长一点。
@cobola
Copy link
Owner

cobola commented Mar 19, 2015

sudo meteor?

@chenkaiC4
Copy link
Contributor Author

更新方案

  1. 一开始,安装时,出现mongo启动失败,查看自己本地mongod服务启动了没有。
  2. 如果安装出现问题,删除当前工程,重新download,meteor启动,等待时间稍微长一点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants