按官网下载启动
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
启动:
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。