Skip to content
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

项目启动后访问报错,找不到错误位置 #22

Open
1402848990 opened this issue Jan 10, 2022 · 0 comments
Open

项目启动后访问报错,找不到错误位置 #22

1402848990 opened this issue Jan 10, 2022 · 0 comments

Comments

@1402848990
Copy link

npm run start 后
报错信息如下:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at Object.join (path.js:1039:7)
at noopServiceWorkerMiddleware (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:323:13)
at /Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:341:12)
at next (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:275:10)
at launchEditorMiddleware (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:323:13)
at /Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:341:12)
at next (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/index.js:275:10)
at handleWebpackInternalMiddleware (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/react-dev-utils/evalSourceMapMiddleware.js:42:7)
at Layer.handle [as handle_request] (/Users/wangrui/Documents/project/2022/yiqing/2019-nCoV-Virus/node_modules/express/lib/router/layer.js:95:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant