关于scrapy:抓取的模板适配工具-Portia-的使用

3次阅读

共计 320 个字符,预计需要花费 1 分钟才能阅读完成。

按官网下载启动

docker-compose up -d 

拜访 localhost:9001, 后果 404
进到容器,发现 /app/portiaui/dist 文件夹下是空的。
下载 nodejs,yarn

应用 yarn 编译:

error ember-run-raf@1.1.2: The engine "node" is incompatible with this module. Expected version "~4.1.1". Got "10.22.0"
error Found incompatible module.

查一下官网
把 package.json 里的 ember-run-raf 降级到 1.1.3,编译通过

用 npm run build 编译胜利。


docker-compose up -d 

启动:

正文完
 0