For now, default yarn build command generates all platform builds. Ok, I'll add build options for each platform today :)
yarn build
This is what happens with Build
Could you run node node_modules/nextron/build/javasript/start.js?
node node_modules/nextron/build/javasript/start.js
Above is internal yarn dev.
yarn dev
This may be webpacking main process error, so above command would tell us something.
Or, you use latest nextron(0.2.*)? If so, i'm sorry for bugs i know that, and i'll fix them tonight(in Japan time).
nextron v0.1.* might work for you. (npm install --global nextron@0.1.*)
npm install --global nextron@0.1.*
yarn dev runs well, not the node command. No problem all code have bugs, I'll test with version 0.1.
The same error with 0.1. Just to be sure if it was my OS I tested whit github.com/SimulatedGREG/electron-vue and does build and make de package for windows (the installer and .exe).
I'll test later on my PC (I'm at work right now)
I'm testing it on my Mac, then nextron@0.3.2(now latest) can build all packages.
nextron@0.3.2
Your error may be npx's bug, which is containing spaces in directory path. So I decided to change code like below:
npx
<FROM> exec('npx webpack --config=***', { cwd }) <TO> exec('node_modules/.bin/webpack --config=***', { cwd })
So avoid npx bugs, Nextron has no requirements like npm >= 5.2 now!
npm >= 5.2
I'm on my way to work, i'll test it, another option could be that Windows don't support build for OS X
nextron@0.3.4 is now released, which fixes yarn build error problem mainly on Windows! (I tested Windows 7 (64bit) :)
nextron@0.3.4
It fail the first time, but on the second try it succeed. (Windows 10 Home x64)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For now, default
yarn build
command generates all platform builds.Ok, I'll add build options for each platform today :)
This is what happens with Build
Could you run
node node_modules/nextron/build/javasript/start.js
?Above is internal
yarn dev
.This may be webpacking main process error, so above command would tell us something.
Or, you use latest nextron(0.2.*)?
If so, i'm sorry for bugs i know that, and i'll fix them tonight(in Japan time).
nextron v0.1.* might work for you.
(
npm install --global nextron@0.1.*
)yarn dev runs well, not the node command. No problem all code have bugs, I'll test with version 0.1.
The same error with 0.1. Just to be sure if it was my OS I tested whit github.com/SimulatedGREG/electron-vue and does build and make de package for windows (the installer and .exe).
I'll test later on my PC (I'm at work right now)
I'm testing it on my Mac, then
nextron@0.3.2
(now latest) can build all packages.Your error may be
npx
's bug, which is containing spaces in directory path.So I decided to change code like below:
So avoid npx bugs, Nextron has no requirements like
npm >= 5.2
now!I'm on my way to work, i'll test it, another option could be that Windows don't support build for OS X
nextron@0.3.4
is now released, which fixesyarn build
error problem mainly on Windows!(I tested Windows 7 (64bit) :)
It fail the first time, but on the second try it succeed.
(Windows 10 Home x64)