/ [33/49] Installing lodash@^4.17.14[vue-loader-v16@npm:vue-loader@^16.1.0] optional install error: Error: Unsupported URL Type: npm:vue-loader@^16.1.0 at parseUrl (C:\Users\cj218\AppData\Roaming\npm\node_modules\cnpm\node_modules\npm-package-arg\npa.js:186:13) at npa (C:\Users\cj218\AppData\Roaming\npm\node_modules\cnpm\node_modules\npm-package-arg\npa.js:79:12) at _install (C:\Users\cj218\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\lib\install.js:62:11) at _install.next (<anonymous>) at onFulfilled (C:\Users\cj218\AppData\Roaming\npm\node_modules\cnpm\node_modules\co\index.js:65:19) at C:\Users\cj218\AppData\Roaming\npm\node_modules\cnpm\node_modules\co\index.js:54:5 at new Promise (<anonymous>) at co (C:\Users\cj218\AppData\Roaming\npm\node_modules\cnpm\node_modules\co\index.js:50:10)
解决
cnpm install vue-loader@^16.1.0
D:\Projects>npm install vue-loader@^16.1.0 npm error Cannot read properties of null (reading 'package') npm error A complete log of this run can be found in: D:\Users\cj218\AppData\Local\npm-cache\_logs\2024-05-30T02_35_36_769Z-debug-0.log D:\Projects>cnpm install vue-loader@^16.1.0 √ Installed 1 packages √ Linked 3 latest versions √ Run 0 scripts √ All packages installed (1 packages installed from npm registry, used 761ms(network 759ms), speed 341.52kB/s, json 4(245.14kB), tarball 14.08kB) D:\Projects>