Comments (7)
Looks like an issue with node-loader
: webpack-contrib/node-loader#12
Although in our case since we are using file-loader it also copies to dist folder but the path is still linked to old absolute path due to a bug in node-loader
.
I ll probably create a custom webpack loader to fix this. Posting for updates here.
from packer.
Hi @phuonghuynh I checked this and it is indeed a bug (not sure when was this introduced). I ll try and get a fix out quickly. Thanks for the details.
from packer.
Hi @phuonghuynh
Please use the following patch for your webpack config to solve the packaging issue
https://github.com/nodegui/nodegui-starter/pull/25/files
from packer.
Hi @phuonghuynh Are you using webpack to bundle your app?
because webpack should automatically pack all ur javascript and binaries into a dist folder. And that should basically remove your dependency on node modules. Packer would then copy that dist folder and add qt libraries needed and then pack into a dmg file.
So my question is have you changed ur setup to something different from what you get via the starter repos?
from packer.
So my question is have you changed ur setup to something different from what you get via the starter repos?
@master-atul Nope, clone the starter-repo (react+nodegui) and start developing my application with it. After adding some features, i use packer
to see how it works, and it working on my dev mac; but no luck on other mac (fresh). I checked this repo, https://github.com/rongfengliang/nodegui-react-cal-packer; and get same issue with mine. Packer can make cal-app.app
but it can not run on a fresh mac or delete folder node_modules
(local).
How could i fix this issue?
I attach my package.json
in case you need to see it.
package.json.zip
from packer.
Thanks for the update @master-atul and Happy new year π
from packer.
Thanks @master-atul , it fixed
from packer.
Related Issues (20)
- Popup pront HOT 2
- MacOSX codesign HOT 3
- Production qode.exe only running from some locations
- Debugging after build of working code? HOT 2
- Can't build on Linux HOT 1
- standalone executable on windows? HOT 5
- How to use this tool? HOT 4
- AppImage run node REPL HOT 2
- Package for 32bit architecture HOT 1
- Question: QT licensing question
- Can't integrate dependencies with WASM modules
- process crashes when I do literally anything
- Quesiton: How to publish app on the Apple Appstore
- Packed app on macos does not have signature. HOT 3
- How do i build for other OS?
- Is this tool abandoned?
- The plugins path in qt.conf (linux mint) points to a non-existent folder (Bug) HOT 2
- qt.conf in Ubuntu is being ignored
- Cannot pack nodegui application HOT 3
- MACOSδΈζεΊζ₯ηε θΏθ‘δΈδΊ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer.