react-native-universal-monorepo
react-native-universal-monorepo copied to clipboard
Fix build/script script names in electron
When I run yarn electron:package:mac
I get the error "Command "build" not found". When I update the packages/electron package.json script to remove yarn build from the "package:mac" script, electron build throws the error: "Application entry file "build/electron.js in Contents/Resources/app.asar" does not exist".
Is there a way to resolve this? Thanks.
Ok solved the latter issue by running the cra:build
script first.
Ha! @whenmoon this is actually a bug, good call — these two commands should probably drop the cra:
prefix.
Hi @mmazzarolo, ok , I'll open a PR to fix..
Remove cra: prefix and then remevoe ^ at devDependencies of electron. like that ^14.0.0 -> 14.0.0
In my opinion, this issue can be closed.