-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
系统信息:MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
node version: v16.13.2
使用yarn 构建
4000 上的端口打开了,4000 上的接口可以正常访问
但是3000 上的页面报错Cannot GET /, 查看命令行发现错误信息:
Listening at http://localhost:3000
WAIT Compiling... 下午6:23:02
ERROR Failed to compile with 1 errors 下午6:23:02
error in ./src/main.js
Module build failed: Error: Failed to load plugin node: Cannot find module 'eslint-plugin-node'
Require stack:
尝试解决:
npm install eslint-plugin-import eslint-plugin-flowtype eslint-plugin-jsx-a11y eslint-plugin-react
npm install eslint-plugin-import --save-dev
等等一系列修复方式,仍未解决。
Metadata
Metadata
Assignees
Labels
No labels