-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
entry config error #7398
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
5.0.8
Environment info
Steps to reproduce
when config the entry below, is suport in webpack latest version
entry: {
What is expected?
pass validate entry
What is actually happening?
ERROR TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:119:11)
at Object.resolve (node:path:167:9)
at C:\Users\zhangcandu\Desktop\test\node_modules@vue\cli-service\lib\Service.js:329:48
at Array.map ()
at Service.resolveWebpackConfig (C:\Users\aaa\Desktop\test\node_modules@vue\cli-service\lib\Service.js:329:31)
at PluginAPI.resolveWebpackConfig (C:\Users\aaa\Desktop\test\node_modules@vue\cli-service\lib\PluginAPI.js:132:25)
at module.exports (C:\Users\aaa\Desktop\test\node_modules@vue\cli-service\lib\commands\build\resolveAppConfig.js:51:14)
at build (C:\Users\aaa\Desktop\test\node_modules@vue\cli-service\lib\commands\build\index.js:147:50)
at C:\Users\aaa\Desktop\test\node_modules@vue\cli-service\lib\commands\build\index.js:69:13
An error will be reported when the entry is configured as a complex object
The text was updated successfully, but these errors were encountered: