【发布时间】:2021-02-13 21:04:15
【问题描述】:
我在一个使用 Docker、PhpStorm、VS Code 的 NPM 项目中,并在本地和通过 Docker 运行。
这个文件夹是在什么情况下放入./false/的?过去有没有人遇到过这种情况并愿意分享他们的发现?
project-root-dir
|__ false
|__ _cacache
|__ <hash>
|__ node_modules
|__ Dockerfile
|__ main.js
|__ package.json
我怀疑这一行是在 false 内创建文件夹 _cacache 文件夹:
FROM node:12
# ...
# Some directory is missing at this point and results in `false` ?
RUN npm install -g npm
【问题讨论】:
标签: node.js npm npm-install npm-cache