ant-design-vue-pro icon indicating copy to clipboard operation
ant-design-vue-pro copied to clipboard

npm run serve 启动报错

Open db46rt00ors opened this issue 3 years ago • 5 comments

Describe the bug (描述 Bug)

_IVMS5CC_5_I}G3YR`)6FQ9

To Reproduce (重现步骤) Steps to reproduce the behavior: 拉取的这个项目 git clone --depth=1 https://github.com/vueComponent/ant-design-vue-pro.git my-project 然后运行 npm run serve 报错

Screenshots(截图)

_IVMS5CC_5_I}G3YR`)6FQ9

Desktop (please complete the following information): 系统window11 node版本 v16.13.2

db46rt00ors avatar Jan 21 '22 03:01 db46rt00ors

我的也是这样的问题 您解决了吗

endLife888 avatar Feb 10 '22 09:02 endLife888

我也是这个问题 把config.js里面改成 new webpack.IgnorePlugin({ resourceRegExp: /^./locale$/, contextRegExp: /moment$/ }), 但是又出现了新的问题

luzhimin-gu avatar Mar 02 '22 06:03 luzhimin-gu

我也是这个问题 把config.js里面改成new webpack.IgnorePlugin({ resourceRegExp: /^./locale$/, contextRegExp: /moment$/ }),但是又出现了新的问题

再package.json中添加"webpack": "^4.46.0" 重新npm install 然后 npm run serve就好了

endLife888 avatar Mar 02 '22 06:03 endLife888

我也是这个问题 把config.js里面改成new webpack.IgnorePlugin({ resourceRegExp: /^./locale$/, contextRegExp: /moment$/ }),但是又出现了新的问题

再package.json中添加"webpack": "^4.46.0" 重新npm install 然后 npm run serve就好了

可以了。谢谢

luzhimin-gu avatar Mar 02 '22 13:03 luzhimin-gu

IgnorePlugin的传参改了

coolicer avatar Apr 01 '22 06:04 coolicer