-
Notifications
You must be signed in to change notification settings - Fork 193
'npm start' throwing exception on electron app #134
Comments
npm start
throwing exception on electron app
I've got exactly the same issue with it. I can build it on High Sierra but not on Mojave |
@rolandhegedus @jorgej-ramos was there a new version of XCode that came out with the Mojave upgrade? I wonder if there's some warning in |
I already installed the latest xcode and tried to rebuild. Everything seems fine but later today i will pastebin the full output. Btw thanks for your answer! |
Good day, here's my full output for
|
did you run electron rebuild either? |
ok, so i solved exactly the same issue. Remove node_modules in your projects directory. ( It will rebuild keytar and will work again. o7 |
Yes, this is the solution. Thank you @rolandhegedus :) |
You’re welcome.
On 2018. Oct 18., Thu at 7:58, Jorge Juan Ramos Garnero < ***@***.***> wrote:
ok, so i solved exactly the same issue.
Remove node_modules in your projects directory. (rm -rf ./node_modules/)
Remove package-lock.json and/or yarn.lock.
Reinstall modules with yarn or npm (yarn install)
Reinstall electron-rebuild (yarn add electron-rebuild)
Run electron-rebuild (./node_modules/.bin/electron-rebuild)
It will rebuild keytar and will work again.
o7
Yes, this is the solution. Thank you @rolandhegedus
<https://github.com/rolandhegedus> :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#134 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFTpH0H5ZJwK5_oFJYTaAd02TRYbOKvtks5umBiKgaJpZM4XcA0c>
.
--
…_________________________________
Roland Hegedus
|
I have tried the steps but to no avail. |
Doesn't work for me neither @rolandhegedus nor @nixklai workarounds. I get exactly as issuestarter error. macOS 10.14.2, Electron 4.0.2, Keytar 4.3.0. |
But works with Keytar 4.2.1, found here #133 |
Hi guys. Trying to use key tar on my electron project, I get this message when running
npm start
:I've tried
rm -rf node_modules && npm install && npm rebuild
but it's not working.npm v6.4.1
node v10.12.0
electron v3.0.4
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: