question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not accepting dist build requests

See original GitHub issue

Describe the bug So, seeing the latest commit, I cloned the repo and installed it via npm install. But, when I hit npm run dist, it just gives a nice start but then, a crash. I will try to add the log file here. To Reproduce Steps to reproduce the behavior: Clone the repo. Use npm install, it is successful. Now, use npm run dist. Start is fine, but crashes at the end. Expected behavior Installation to go properly.

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. Windows 7 Build 7601]
  • Version [e.g. 1.0.0-rc.2 repo code edition]

Additional context The debug.log file contents 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'dist' 1 verbose cli ] 2 info using npm@6.14.4 3 info using node@v13.14.0 4 verbose run-script [ 'predist', 'dist', 'postdist' ] 5 info lifecycle g-assist@1.0.0-rc.2~predist: g-assist@1.0.0-rc.2 6 info lifecycle g-assist@1.0.0-rc.2~dist: g-assist@1.0.0-rc.2 7 verbose lifecycle g-assist@1.0.0-rc.2~dist: unsafe-perm in lifecycle true 8 verbose lifecycle g-assist@1.0.0-rc.2~dist: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\user\Documents\GitHub\Google-Assistant-Unofficial-Desktop-Client\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\dotnet\;C:\Users\user\adb;C:\adb;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Ruby27-x64\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\dotnet\;C:\Users\user\adb;C:\Users\user\AppData\Roaming\npm 9 verbose lifecycle g-assist@1.0.0-rc.2~dist: CWD: C:\Users\user\Documents\GitHub\Google-Assistant-Unofficial-Desktop-Client 10 silly lifecycle g-assist@1.0.0-rc.2~dist: Args: [ '/d /s /c', 'electron-builder' ] 11 silly lifecycle g-assist@1.0.0-rc.2~dist: Returned: code: 1 signal: null 12 info lifecycle g-assist@1.0.0-rc.2~dist: Failed to exec dist script 13 verbose stack Error: g-assist@1.0.0-rc.2 dist: electron-builder13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:315:20) 13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:315:20) 13 verbose stack at maybeClose (internal/child_process.js:1026:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) 14 verbose pkgid g-assist@1.0.0-rc.2 15 verbose cwd C:\Users\user\Documents\GitHub\Google-Assistant-Unofficial-Desktop-Client 16 verbose Windows_NT 6.1.7601 17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dist" 18 verbose node v13.14.0 19 verbose npm v6.14.4 20 error code ELIFECYCLE 21 error errno 1 22 error g-assist@1.0.0-rc.2 dist:electron-builder22 error Exit status 1 23 error Failed at the g-assist@1.0.0-rc.2 dist script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
im-coder-lgcommented, Apr 17, 2021

Thanks a lot, it works now!

1reaction
im-coder-lgcommented, Mar 30, 2021

It… didn’t work☹️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack not accepting POST requests - Stack Overflow
Based on @Sven's answer, modification to the setup so that it works for POST all throughout. Add dependencies on body-parser , sync-request ......
Read more >
App Distribution troubleshooting & FAQ - Firebase - Google
This page provides troubleshooting help and answers to frequently asked questions about distributing and testing apps with App Distribution.
Read more >
DOB NOW: Build Frequently Asked Questions - NYC.gov
I am trying to enter my eFiling account in the Delegated Associate field in DOB NOW but it is not accepting my email...
Read more >
Create and manage room mailboxes - Microsoft Learn
It is also not recommended to use Full Access permissions to directly ... Accept or decline booking requests automatically: If this is ...
Read more >
Request rate and access distribution guidelines | Cloud Storage
Cloud Storage is a highly scalable service that uses auto-scaling technology to achieve very high request rates. This page lays out guidelines for ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found