vue-nodegui-starter icon indicating copy to clipboard operation
vue-nodegui-starter copied to clipboard

Missed "build" script in package.json?

Open lackneets opened this issue 4 years ago • 5 comments

I cannot run npm run build, instead I did run these commands directly:

npm run dev then npx nodegui-packer --pack ./dist

Finally I got this message:

...
Build successful. Find the app at .../vue-nodegui-starter/deploy/darwin/build

But I cannot open deploy/darwin/build/MyApp

Did I missed something?

lackneets avatar Dec 15 '20 15:12 lackneets

Same here on windows, I have a build successful message but when I start the .exe file nothing happens, but when I run the npm run dev command without touching at any code from the cloned repo, the exe starts and shows in the task manager. But when it's the compiled exe un the build directory doesn't work at all

EDIT : I copied the npm run build command from the hello world example for classic nodegui webpack -p and ran it instead of npm run dev

Shotman avatar Dec 18 '20 18:12 Shotman

Hey! @Shotman I too added the npm run build, "webpack -p" to the package.json. However the qode.exe just doesn't seems working. I clicked qode.exe, but nothing happens....any idea?

JunyaoC avatar Jan 17 '21 16:01 JunyaoC

+1. I'm also encountering this issue. Did anyone figure out a solution?

MikeTheSnowman avatar Mar 12 '21 04:03 MikeTheSnowman

I have a pull request #6 where I made the build script and dev script while scouring multiple NodeGUI projects. Hopefully you can try it.

eLoyyyyy avatar Mar 12 '21 08:03 eLoyyyyy

Thanks @eLoyyyyy. I'll take a look at it this weekend!

shubhamzanwar avatar Mar 12 '21 08:03 shubhamzanwar