Replies: 6 comments 6 replies
-
What's your Node.js version? Also, can you make a code block(``` is the GFM way) to make us clear that it's console logs? |
Beta Was this translation helpful? Give feedback.
-
to answer the first question node -v = v16.13.1 |
Beta Was this translation helpful? Give feedback.
-
Based on the error log, it seems like you are building the project using an unsupported version of node. You must be using either Node 12 or 14. Can you try re-building the source using either of these versions? |
Beta Was this translation helpful? Give feedback.
-
Well I changed the node.js version to v14.18.2, and still nothing works,like it did the first time. guess I should have left things have left things alone and not run npm audit fix. I will try to downgrade to version 12 and see |
Beta Was this translation helpful? Give feedback.
-
Well I changed the node.js version to v12.22.8, and no change |
Beta Was this translation helpful? Give feedback.
-
Well I finally got back to the point I was just over 24 hours ago. I upgraded the node version to v16.13.1 which is the latest LTS version, ( no need to go with bleeding edge here there has already been enough excitement thus far ). I even went as far as removing and re-cloning the repository, so as to start from scratch. As I was able to get the app to run with 'npm start'. Got the app authorized, and tested t out and is work as expected. So I proceeded with the next step, the 'npm run dist' which started this whole mess, now I won't bore you with the entire console output, it is much like the first one I sent you. I include below the fist part of the build process, ( the part before it up chucks all over the screen ). What I would like to know, what dose the output look like from a successful build look like, ( the part that would be in place of 'x editions-autoloader-none-broadened' ), I would dearly like to know that so that it might lead me to what I might be missing, miss-configured, or otherwise royally screwed up. I don't know if anyone has the same linux kernel running, mine was just updated last night to 5.15.12-1-default, and I don't know if that would even matter, but my system regularly updates to the latest stable versions of everything, hence why I chose to install v16.13.1 as it seemed according to the node.js website to be the latest stable and long term supported version, but then maybe that is part of the problem. Although it has never caused any difficultly with any of the other projects that I have been working on, both past and present, since I retired 2 years ago and built both of my two xenon based machines, one workstation and one server. both run the same distro and both are updated to the same OS version. Anyway your thoughts are appreciated, and if you could l let me know what a successful build dose look like. =====================================================================================================
====================================================================================================== |
Beta Was this translation helpful? Give feedback.
-
The build process, and authorization process went fine:
Get dependencies from npm (mandatory)
npm install <-- seemed to go okay
Run the Assistant
npm start <------ the went fine ran the app, authorized it, and works well
Build the Assistant
npm run dist <-- this part not so much, after closing the app from about, and preforming this step:
• electron-builder version=22.10.5 os=5.15.12-1-default
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• rebuilding native dependencies dependencies=grpc@1.24.6 platform=linux arch=x64
• packaging platform=linux arch=x64 electron=10.3.2 appOutDir=dist/linux-unpacked
• Unpacking electron zip zipPath=undefined
⨯ editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. stackTrace=
Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:317:21)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:327:19)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:301:25)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment.
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:252:19)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment
at new Errlop (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/errlop/edition-es5/index.js:61:18)
at Object.errtion (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/util.js:23:14)
at isCompatibleEngines (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:183:19)
at isCompatibleEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:250:10)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:287:4)
at determineEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:312:12)
at solicitEdition (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:350:16)
at Object.requirePackage (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/editions/edition-es5/index.js:364:9)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/istextorbinary/index.cjs:4:38)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22)
vstubbs@infinity [1060] ~/git/Google-Assistant-Unofficial-Desktop-Client (master *%) $
I am building and running the app on a openSUSE Tumbleweed machine, (my development box). It's kitted out with all the dev lib's and tool's you can think of.The one thing out of all that "error" about is why does it think I'm building on osx --> (/home/vstubbs/git/Google-Assistant-Unofficial-Desktop-Client/node_modules/app-builder-lib/electron-osx-sign/util.js: <-- and this box is clearly Linux. Your thoughts.
Beta Was this translation helpful? Give feedback.
All reactions