vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

"export 'default' was not found in node_modules/unplugin/dist/webpack/loaders/transform.js #6962

Closed zhoufanglu closed 2 years ago

zhoufanglu commented 2 years ago

Version

4.5.6

Reproduction link

none

Environment info

"vue": "^3.0.0",
 "@element-plus/icons": "0.0.11",
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0",
    "axios": "^0.24.0",
    "babel-eslint": "^10.1.0",
    "element-plus": "^1.3.0-beta.5",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^7.0.0",
    "nprogress": "^0.2.0",
    "pinia": "^2.0.0-rc.10",
    "pinia-plugin-persistedstate": "^1.0.3",
    "postcss-pxtorem": "^5.1.1",
    "qs": "^6.10.1",
    "sass": "^1.46.0",
    "sass-loader": "^10.0.5",
    "unplugin-auto-import": "^0.5.10",
    "unplugin-vue-components": "^0.17.11"

Steps to reproduce

1、npm run build 2、Then report a warning. "export 'default' was not found in '-!../../../../../node_modules/unplugin/dist/webpack/loaders/transform.js??

What is expected?

build success

What is actually happening?

image

vue-bot commented 2 years ago

Hello, thank you for taking time filling this issue!

However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).

I hope to see your helper-created issue very soon!