-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot GET / #2
Comments
好吧,解决了 |
系统信息: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
等等一系列修复方式,仍未解决。
The text was updated successfully, but these errors were encountered: