Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试为根文件夹中的特定角度项目执行 ng serve 时,我得到了这个异常。
异常:发生未处理的异常:没有为“路径.../node_module/terser”找到有效的导出主程序
我使用的 npm 版本是 6.13.1
这个问题与我的 npm 有关吗?
根据这个github问题,可能
在你再次发球之前试试这个
npm install npm@latest -g
如果这不起作用,您的 npm 是什么版本?您可以通过以下方式了解
npm -v