electron-vue icon indicating copy to clipboard operation
electron-vue copied to clipboard

npm run build报错,哪位大神遇到过,builder的版本也升级过试了

Open wei1102816471 opened this issue 4 years ago • 1 comments
trafficstars

OKAY take it away electron-builder

• electron-builder version=20.44.4 • loaded configuration file=package.json ("build" field) • writing effective config file=build\builder-effective-config.yaml Error: Unresolved node modules: @babel/core, vue, bufferutil, utf-8-validate at F:\QZKJ\client\tec-client\[email protected]@app-builder-lib\src\util\packageDependencies.ts:112:21 at Generator.next () at Generator.tryCatcher (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\util.js:16:23) at PromiseSpawn._promiseFulfilled (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\generators.js:97:49) at Promise._settlePromise (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:609:26) at Promise._settlePromise0 (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:649:10) at Promise._settlePromises (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:729:18) at Promise._fulfill (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:673:18) at Promise._resolveCallback (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:466:57) at Promise._settlePromiseFromHandler (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:559:17) at Promise._settlePromise (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:604:18) at Promise._settlePromise0 (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:649:10) at Promise._settlePromises (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\promise.js:725:18) From previous event: at Promise.longStackTracesCaptureStackTrace [as _captureStackTrace] (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\debuggability.js:482:19) at new PromiseSpawn (F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\generators.js:43:17) at F:\QZKJ\client\tec-client\[email protected]@bluebird\js\release\generators.js:197:21 at Packager.build (F:\QZKJ\client\tec-client\[email protected]@app-builder-lib\src\packager.ts:288:14) at build (F:\QZKJ\client\tec-client\[email protected]@app-builder-lib\src\index.ts:59:28) at build (F:\QZKJ\client\tec-client\[email protected]@electron-builder\src\builder.ts:228:10) at F:\QZKJ\client\tec-client\[email protected]@electron-builder\src\cli\cli.ts:49:19 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: node .electron-vue/build.js && electron-builder npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! F:\Program Files\node\node_cache_logs\2020-12-01T03_50_59_790Z-debug.log

If visual, provide a screenshot.

#

Tell me about your development environment.
  • Node version:
  • NPM version:
  • vue-cli version: (if necessary)
  • Operating System:

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

wei1102816471 avatar Dec 01 '20 05:12 wei1102816471

electron-builder配置发出来

qiufeihong2018 avatar Dec 18 '20 03:12 qiufeihong2018