【发布时间】:2021-01-05 00:14:11
【问题描述】:
我正在开发 Node.js 应用程序。
我将所有文件都保存在 Google Drive File Stream 上,效果很好。
但是当尝试在终端中使用 NPM 安装一些包时,它会出错。
也许 VS Code 上的终端无法在 Google DFS 中创建新目录。
npm WARN tar TAR_ENTRY_ERROR UNKNOWN: unknown error, write
npm WARN tar TAR_ENTRY_ERROR UNKNOWN: unknown error, write
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/cli/issues>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\username\AppData\Local\npm-cache\_logs\2021-01-05T00_13_21_425Z-debug.log
我可以在我的本地驱动器文件夹中执行此操作,然后将其再次复制到 DFS,但这有点烦人。
有什么办法可以解决吗?
【问题讨论】:
标签: node.js npm google-drive-file-stream