test-framework icon indicating copy to clipboard operation
test-framework copied to clipboard

uni-app-v3在h5模式下启动报错(其它模式没试过)

Open sanzenwin opened this issue 4 years ago • 0 comments

yarn --version
node --version
1.22.17
v14.17.6



yarn install
yarn run serve

浏览器控制台报错:

Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
    at Module.<anonymous> (chunk-vendors.js:46629)
    at Module../node_modules/strip-ansi/index.js (chunk-vendors.js:46631)
    at __webpack_require__ (index.js:854)
    at fn (index.js:151)
    at Object.<anonymous> (chunk-vendors.js:48017)
    at Object../node_modules/webpack-dev-server/client/index.js?http://localhost (chunk-vendors.js:48188)
    at __webpack_require__ (index.js:854)
    at fn (index.js:151)
    at Object.1 (index.js:1362)
    at __webpack_require__ (index.js:854)

sanzenwin avatar Nov 16 '21 02:11 sanzenwin