DEV Community

Discussion on: "Nextron": Electron + Next.js dream

 
burzumumbra profile image
Ronald Flores Sequeira

I'll test later on my PC (I'm at work right now)

Thread Thread
 
saltyshiomix profile image
Shiono Yoshihide

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:

<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!

Thread Thread
 
burzumumbra profile image
Ronald Flores Sequeira • Edited

I'm on my way to work, i'll test it, another option could be that Windows don't support build for OS X

Thread Thread
 
saltyshiomix profile image
Shiono Yoshihide

nextron@0.3.4 is now released, which fixes yarn build error problem mainly on Windows!
(I tested Windows 7 (64bit) :)

Thread Thread
 
burzumumbra profile image
Ronald Flores Sequeira

It fail the first time, but on the second try it succeed.
(Windows 10 Home x64)

Yarn Succeed

Yarn Succeed