当前位置:网站首页>Uncaught typeerror: cannot set property 'next' of undefined
Uncaught typeerror: cannot set property 'next' of undefined
2022-06-11 11:41:00 【Michael18811380328】
Uncaught TypeError: Cannot set property ‘next’ of undefined Error reporting solution
There is a problem in development today , The interface reports an error as follows :

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.join (path.js:1039:7)
at noopServiceWorkerMiddleware (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/react-dev-utils/noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/express/lib/router/index.js:317:13)
at /Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/express/lib/router/index.js:335:12)
at next (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/express/lib/router/index.js:275:10)
at launchEditorMiddleware (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/react-dev-utils/errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (/Users/seafile/Desktop/code-seafile/seatable-plugin-timeline/node_modules/express/lib/router/layer.js:95:5)
The Chinese translation is
Not caught TypeError: Cannot set undefined property “next”
Error reason
Most netizens' feedback is :
noopServiceWorkerMiddleware This library is not compatible with other third-party libraries
At present, we encounter the following three dependencies on earlier versions and noopServiceWorkerMiddleware Are not compatible , Then upgrade
“react-scripts”: “^3.4.0”
“node-sass”: “^4.11.1”
“sass-loader”: “^7.3.0”
npm install [email protected] [email protected] [email protected]
Or locally installed node Earlier versions are incompatible , Update the local node To the new edition
# install node Version management tools
sudo npm i -g n --force
# Install stable version node
n --stable
Please refer to this blog for details (https://blog.csdn.net/guzhao593/article/details/81712016)
After these two operations on my side , REPACK ,JS Part will not report an error , It can be used normally .
Reference link
https://stackoverflow.com/questions/61354145/the-path-argument-must-be-of-type-string-received-undefined-not-sure-why
https://blog.csdn.net/guzhao593/article/details/81712016
边栏推荐
猜你喜欢

MSF CS OpenSSL traffic encryption

The tutor transferred me 800 yuan and asked me to simulate a circuit (power supply design)

Liufan, CFO of papaya mobile, unleashes women's innovative power in the digital age

The complete manual of the strongest Flink operator is a good choice for the interview~

Enterprise wechat applet pit avoidance guide, welcome to add...

Problems encountered when using nailing intranet to penetrate and upload PHP projects

How to form a good habit? By perseverance? By determination? None of them!

ELK - ElastAlert最大的坑
![[file upload vulnerability 05] server suffix detection and bypass experiment (based on upload-labs-3 shooting range)](/img/f5/52bc5e01bb0607b6ecab828fb70c93.jpg)
[file upload vulnerability 05] server suffix detection and bypass experiment (based on upload-labs-3 shooting range)

JEST 单元测试说明 config.json
随机推荐
Learning in Bi design 03
在毕设中学习02——numpy多维数组的切片,形态变化,维度交换
WP super cache static cache plug-in concise tutorial
ELK - X-Pack设置用户密码
Let WordPress support registered users to upload custom avatars
Web development model selection, who graduated from web development
Only when you find your own advantages can you work tirelessly and get twice the result with half the effort!
Command mode - attack, secret weapon
CVPR 2022 | 文本引导的实体级别图像操作ManiTrans
Recommend several gravatar avatar caching plug-ins
How to solve the problem that high-precision positioning technologies such as ultra wideband UWB, Bluetooth AOA and RTK cannot be widely used due to their high cost? Adopt the idea of integrated deplo
js合并两个对象(面试题)
Lifeifei: I am more like a scientist in physics than an engineer
找到自己的优势,才能干活不累,事半功倍!
iframe 传值
How to form a good habit? By perseverance? By determination? None of them!
Weekly Postgres world news 2022w08
爱可可AI前沿推介(6.11)
File excel export
木瓜移动CFO刘凡 释放数字时代女性创新力量