hesijia


  • Home

  • Archives

npm install xxxx -g 错误

Posted on 2019-04-25

失败原因:

configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/hexo-cli/node_modules/fsevents/build

解决方法:

给node安装目录赋予执行权限

1
$ sudo chown -R `whoami` /usr/local/lib/node_modules

第二篇文章

Posted on 2019-04-25

👏 欢迎使用 Gridea !
✍️ Gridea 一个静态博客写作客户端。你可以用它来记录你的生活、心情、知识、笔记、创意… …
​

Read more »

我的第一篇文章

Posted on 2019-04-25

我的第一篇文章

Hello World

Posted on 2019-04-25

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

hesijia

4 posts
© 2019 hesijia
Powered by Hexo
|
Theme — NexT.Muse v5.1.4