0

运行 npm install 或 yarn install 时出现很多错误(基本上是相同的错误)。错误消息的相关部分是:

    Error: ENOENT: no such file or directory, open '/home/user/.cache/yarn/v6/.tmp/64eb75e6f1c0c61ed8c4337dfb1a7c31.8da6f05825b42e9d85cb82e05a122aa7d75f1846.prepare/node_modules/d3-array/build/d3-array.min.js'
In module tree:
    openmct
      src/defaultRegistry
        platform/features/conductor/core/bundle
          platform/features/conductor/core/src/ui/ConductorAxisController


events.js:170
      throw er; // Unhandled 'error' event
      ^
Error: Error: ENOENT: no such file or directory, open '/home/user/.cache/yarn/v6/.tmp/64eb75e6f1c0c61ed8c4337dfb1a7c31.8da6f05825b42e9d85cb82e05a122aa7d75f1846.prepare/node_modules/d3-array/build/d3-array.min.js'
In module tree:
    openmct
      src/defaultRegistry
        platform/features/conductor/core/bundle
          platform/features/conductor/core/src/ui/ConductorAxisController

    at Object.openSync (fs.js:448:3)

任何想法可能导致此错误?我已经不得不将节点降级到版本 11,因为最近的所有内容都返回“未定义原始”错误。npm install 返回类似的 ENOENT 错误。

4

0 回答 0