You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn run v1.22.22
$ vue-cli-service build
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
⠋ Building for production...Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
⠧ Building for production...
ERROR Failed to compile with 2 errors 1:46:52 AM
error in ./node_modules/npm/bin/npm-cli.js
Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> #!/usr/bin/env node
| ;(function () { // wrapper in case we're in module_context mode
| // windows: running "npm blah" in this folder will invoke WSH, not node.
@ ./node_modules/npm/lib/npm.js 484:4-32
@ ./src/core/plugin-handler/index.ts
@ ./src/core/index.ts
@ ./src/renderer/plugins-manager/index.ts
@ ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/renderer/App.vue?vue&type=script&setup=true&lang=ts
@ ./src/renderer/App.vue?vue&type=script&setup=true&lang=ts
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
@ multi ./src/renderer/main.ts
error in ./node_modules/extract-file-icon/build/Release/addon.node
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
@ ./node_modules/extract-file-icon/dist/index.js 5:14-52
@ ./src/core/app-search/win.ts
@ ./src/core/app-search/index.ts
@ ./src/renderer/plugins-manager/index.ts
@ ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/renderer/App.vue?vue&type=script&setup=true&lang=ts
@ ./src/renderer/App.vue?vue&type=script&setup=true&lang=ts
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
@ multi ./src/renderer/main.ts
ERROR Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
任何开发建议、交流学习都可以
您好,我之前没有进行过js的开发和编译
我尝试使用yarn install 和yarn build编译,但存在编译问题
工具具体版本为
The text was updated successfully, but these errors were encountered: