Mac 上安装node

搜索引擎6年前 (2019)发布 admin
483 0

首先安装brew
网址brew.sh
安装命令

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install node

安装出错
Error: An exception occurred within a child process:
  Errno::EPERM: Operation not permitted @ dir_s_mkdir - /usr/local/Cellar
解决:
可能是因为Cellar文件夹找不到的原因,直接在/usr/local/下
mkdir Cellar
建立文件夹
再次执行
brew install node
有问题按照提示操作即可
You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/Cellar

And make sure that your user has write permission.
  chmod u+w /usr/local/Cellar

Scrapy将数据写入Elasticsearch
https://blog.csdn.net/fxqp1202/article/details/79566179
elasticsearch学习与把爬取的数据保存到es中
https://blog.csdn.net/qq_40916110/article/details/87616782
最新版python对于elasticsearch-dsl的使用说明
https://blog.csdn.net/yaohuan2017/article/details/85338508
ES-Mac OS环境搭建-ik中文分词器
https://www.cnblogs.com/rixian/p/10746600.html
Mac上安装elasticsearch-head插件
https://www.jianshu.com/p/36d7f97a20cd

© 版权声明

相关文章