taro-code icon indicating copy to clipboard operation
taro-code copied to clipboard

编译报错 ‘node_modules/css-loader/dist/runtime/url-escape.js’ 不存在

Open Hallelujah828 opened this issue 4 years ago • 0 comments

taro版本2.2.1

操作:yarn add taro-code@2

报错: ./node_modules/@tarojs/webpack-runner/node_modules/css-loader/dist/runtime/url-escape.js Module build failed (from ./node_modules/@tarojs/webpack-runner/node_modules/babel-loader/lib/index.js): Error: ENOENT: no such file or directory, open '/Users/li/Desktop/work-zhou/wanling-web-mobile/node_modules/@tarojs/webpack-runner/node_modules/css-loader/dist/runtime/url-escape.js'

Hallelujah828 avatar Sep 15 '21 09:09 Hallelujah828