element [bug report] execute the command cross env node_ ENV=production webpack --config build/ webpack.extension.js Error: This [module]_ TYPE] is not a function

omqzjyyz  于 2023-02-04  发布在  Webpack
关注(0)|答案(2)|浏览(200)

Element UI version

2.15.1

OS/Browsers version

windows10 /

Vue version

2.6.12

https://elementui.github.io/issue-generator/#/zh-CN

Steps to reproduce

element-dev 执行命令cross-env NODE_ENV=production webpack --config build/webpack.extension.js

What is Expected?

执行命令cross-env NODE_ENV=production webpack --config build/webpack.extension.js 不会报错

What is actually happening?

执行命令cross-env NODE_ENV=production webpack --config build/webpack.extension.js 报错:this[MODULE_TYPE] is not a function

tez616oj

tez616oj1#

Translation of this issue:

Element UI version

2.15.1

OS/Browsers version

windows10 /

Vue version

2.6.12

https://elementui.github.io/issue-generator/#/zh -CN

Steps to reproduce

Element dev executes the command cross env node_ ENV=production webpack --config build/ webpack.extension.js

What is Expected?

Execute the command cross env node_ ENV=production webpack --config build/ webpack.extension.js No mistake will be reported

What is actually happening?

Execute the command cross env node_ ENV=production webpack --config build/ webpack.extension.js Error: This [module]_ TYPE] is not a function

e5njpo68

e5njpo682#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题