nodegui / packer

Package and deploy apps built with NodeGui to all platforms
206 stars 15 forks source link

Question: After building a couple of times building is not possible. #85

Open danielbeeke opened 4 years ago

danielbeeke commented 4 years ago

Hello, Somehow it stopped working, it may be that I changed something, it is the first time using nodegui for me.

How can I debug this better?

cleaning build directory at /Users/d.beeke/Development/phone-helper-nodegui/deploy/darwin/build
creating build directory at /Users/d.beeke/Development/phone-helper-nodegui/deploy/darwin/build
copying qode
copying dist
running macdeployqt
stderr: Log: Argument found: "-libpath=undefined"

stderr: Log: Using otool:

stderr: Log:  inspecting "/Users/d.beeke/Development/phone-helper-nodegui/deploy/darwin/build/PhoneHelper.app/Contents/MacOS/qode"

stderr: WARNING:

stderr: WARNING: Could not find any external Qt frameworks to deploy in "PhoneHelper.app"
WARNING: Perhaps macdeployqt was already used on "PhoneHelper.app" ?
WARNING: If so, you will need to rebuild "PhoneHelper.app" before trying again.

stderr: Log: Using strip:

stderr: Log:  stripped "/Users/d.beeke/Development/phone-helper-nodegui/deploy/darwin/build/PhoneHelper.app/Contents/MacOS/qode"

Build successful. Find the app at /Users/d.beeke/Development/phone-helper-nodegui/deploy/darwin/build
danielbeeke commented 4 years ago

I notice there is no node inside the dist folder. It was there before. May this have to do with it?

danielbeeke commented 4 years ago

I have placed it back and now it builds, but to me it looks like it should be created every time, am I correct in this assumption?

danielbeeke commented 4 years ago

I found out webpack is cleaning it up. So it gets removed but is not rebuild again.