-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception Error #312
Comments
Thank you for the bug report 🙇 The only place I see I have not built the app since the addition of this feature -- perhaps we need to only call the methods that touch it when the app is running on a Mac (see I suspect your app will build fine if you check out an earlier commit before this PR was merged, or if you temporarily gut the Touch Bar feature |
Found the two places requiring a condition - I think we need a See my comments on #61 |
Hey, can I take this? Will fix it (: |
I think this can be closed now that #319 has been merged. @mcpalmer1980 -- if you happen to check with the latest master please let us know 🤝 |
I upgraded my OS from Mint 18.3 to Ubuntu 19.10 and am having trouble
building. I assume you don't supply build instructions so more people buy
the software, but I'm not js proficient and lack the time to experiment
right now.
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/home/michael/.nvm/versions/node/v13.2.0/bin/node',
1 verbose cli '/home/michael/.nvm/versions/node/v13.2.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build',
1 verbose cli '--',
1 verbose cli '-c',
1 verbose cli 'production'
1 verbose cli ]
2 info using npm@6.13.1
3 info using node@v13.2.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle video-hub-app-2@2.0.0~prebuild: video-hub-app-2@2.0.0
6 info lifecycle video-hub-app-2@2.0.0~build: video-hub-app-2@2.0.0
7 verbose lifecycle video-hub-app-2@2.0.0~build: unsafe-perm in lifecycle
true
8 verbose lifecycle video-hub-app-2@2.0.0~build: PATH:
/home/michael/.nvm/versions/node/v13.2.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/michael/.local/share/Trash/files/Video-Hub-App-master/node_modules/.bin:/home/michael/.nvm/versions/node/v13.2.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/michael/.local/share/Trash/files/Video-Hub-App-master/node_modules/.bin:/home/michael/.nvm/versions/node/v13.2.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle video-hub-app-2@2.0.0~build: CWD:
/home/michael/.local/share/Trash/files/Video-Hub-App-master
10 silly lifecycle video-hub-app-2@2.0.0~build: Args: [
10 silly lifecycle '-c',
10 silly lifecycle 'npm run postinstall:electron && npm run
electron:serve-tsc && ng build "-c" "production"'
10 silly lifecycle ]
11 silly lifecycle video-hub-app-2@2.0.0~build: Returned: code: 1 signal:
null
12 info lifecycle video-hub-app-2@2.0.0~build: Failed to exec build script
13 verbose stack Error: video-hub-app-2@2.0.0 build: `npm run
postinstall:electron && npm run electron:serve-tsc && ng build "-c"
"production"`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous>
(/home/michael/.nvm/versions/node/v13.2.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:210:5)
13 verbose stack at ChildProcess.<anonymous>
(/home/michael/.nvm/versions/node/v13.2.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:210:5)
13 verbose stack at maybeClose (internal/child_process.js:1023:16)
13 verbose stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:281:5)
14 verbose pkgid video-hub-app-2@2.0.0
15 verbose cwd /home/michael/.local/share/Trash/files/Video-Hub-App-master
16 verbose Linux 5.3.0-23-generic
17 verbose argv "/home/michael/.nvm/versions/node/v13.2.0/bin/node"
"/home/michael/.nvm/versions/node/v13.2.0/bin/npm" "run" "build" "--" "-c"
"production"
18 verbose node v13.2.0
19 verbose npm v6.13.1
20 error code ELIFECYCLE
21 error errno 1
22 error video-hub-app-2@2.0.0 build: `npm run postinstall:electron && npm
run electron:serve-tsc && ng build "-c" "production"`
22 error Exit status 1
23 error Failed at the video-hub-app-2@2.0.0 build script.
23 error This is probably not a problem with npm. There is likely
additional logging output above.
24 verbose exit [ 1, true ]
…On Mon, Dec 2, 2019 at 6:26 PM Boris ***@***.***> wrote:
I think this can be closed now that #319
<#319> has been merged.
@mcpalmer1980 <https://github.com/mcpalmer1980> -- if you happen to check
with the latest *master* please let us know 🤝
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#312?email_source=notifications&email_token=ALHMW2FTLWG3LLYKSXAH72TQWWKSTA5CNFSM4JOHUQIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFXHVMY#issuecomment-560888499>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALHMW2BMBHPDKNTQERP7YJ3QWWKSTANCNFSM4JOHUQIA>
.
|
@mcpalmer1980 sorry it still fails -- I've not tested the app. If you'd like the app to build, I'm confident the 2.0.0 release will work, just check out the I'll likely find time in the coming weeks (or at least during my winter break) to fix the Linux build again so I can release The build instructions should be as simple as |
I'm not sure if my failure to build is a problem with the code or with my
build platform. Perhaps I have an issue with dependencies or permissions or
something like that. The version of npm and node included with my distro
were too old to build so I tried installing and upgrading dependencies from
various googled instructions. Some attempts failed and may have left broken
pieces behind after I found instructions that did work. Anyway the 2.0
appimage that I purchased works perfectly except for a lack of an icon, so
I'm not worried. I only tried to build again hoping to offer you with some
feedback as you requested in your earlier email.
…On Mon, Dec 2, 2019 at 9:53 PM Boris ***@***.***> wrote:
@mcpalmer1980 <https://github.com/mcpalmer1980> sorry it still fails --
I've not tested the app.
After the release lands, I start merging PRs that update the
functionality, and until the next release the app may be broken.
If you'd like the app to build, I'm confident the 2.0.0 release will work,
just check out the master at this point in the commit history:
https://github.com/whyboris/Video-Hub-App/releases/tag/v2.0.0
I'll likely find time in the coming weeks (or at least during my winter
break) to fix the Linux build again so I can release 2.1.0
The build instructions should be as simple as npm run electron:linux ...
I'm unsure why it's not working for you. I built my .appimage in Ubuntu
running inside a virtual machine on Mac 🤷♂
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#312?email_source=notifications&email_token=ALHMW2B4JGA7PVRO7AXNNXDQWXC3RA5CNFSM4JOHUQIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFX43TQ#issuecomment-560975310>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALHMW2AI2Y5ITNWWMQYTHQDQWXC3RANCNFSM4JOHUQIA>
.
|
I think node has to be at least version 10 (try 10.16.0 or higher; 12 works too 👍 ) |
@mcpalmer1980 -- I'm thinking about closing this issue. Please comment if you think it should stay open for some reason 👍 |
Closing as I suspect this has been solved. Please feel free to comment or create a new issue as needed 🤝 |
I have a few features I wanted to try implimenting but am getting errors with the AppImage I generate on Linux Mint 18.3. It runs fine the first time, but a get an exception error after that unless I delete the$home$ /.config/video-hub-app folder.
Note that I've never built a node.js app but doubt I could have done anything wrong. I installed the latest npm, node.js, and Electron and built with the following command.
npm run build:prod && electron-builder build --linux
Error Dialog
Build Log
The text was updated successfully, but these errors were encountered: