Closed J-Cake closed 4 years ago
For posterity, this happened to me because I set scripts.pack
in package.json
to my electron build command and npm/yarn pack
is a predefined command: https://yarnpkg.com/lang/en/docs/cli/pack/
Oh gosh this was a while ago, I don't even have that project anymore.
But thanks for the response. This will certainly help others.
I've got the following script:
and when I run it, nothing but a
tgz
file in my root dir. When extracting it, I get nothing but the unbuilt react app. Mind you, I used theelectron-packager
on the output of the react build but still, only a.tgz
. Why?