我刚刚创建了我的第一个REACT项目;npm启动";我得到
Failed to compile.
ENOENT: no such file or directory, mkdir
'/var/www/myfirstreact/node_modules/.cache
您使用create-react应用程序了吗?
npx create-react-app my-app
cd my-app
npm start
使用它将为您设置文件结构等。