Skip to content
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

Missed "build" script in package.json? #3

Open
lackneets opened this issue Dec 15, 2020 · 5 comments
Open

Missed "build" script in package.json? #3

lackneets opened this issue Dec 15, 2020 · 5 comments

Comments

@lackneets
Copy link

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?

@Shotman
Copy link

Shotman commented Dec 18, 2020

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

@JunyaoC
Copy link

JunyaoC commented Jan 17, 2021

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?

@MikeTheSnowman
Copy link

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

@eLoyyyyy
Copy link

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.

@shubhamzanwar
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants