Nrwl Nx React应用程序,无法访问节点API

时间:2020-09-11 15:40:51

标签: reactjs nrwl-nx nrwl

在Nrwl Nx项目中的React应用程序中安装了新的依赖项之后,我偶然发现了Module not found: Error: Can't resolve 'path' in '/Users/…/node_modules/vfile'

在新创建的Nx项目中尝试使用相同的依赖项,但最终都出现相同的错误。我还创建了一个新鲜的create-react-app应用程序,在该应用程序中运行得很好。

Nx应用程序中不可用Node API吗?还是可以以某种方式解决问题?

0 个答案:

没有答案