leo / electron-next

Build Electron apps using Next.js
https://github.com/leo/site/blob/beef3a7dc1dfd435a9d8377e3b1b59761ccb7fc7/pages/2017/electron-next.js
MIT License
548 stars 41 forks source link

Potential bug with .next/BUILD_ID #3

Closed trevordmiller closed 7 years ago

trevordmiller commented 7 years ago

Hey @leo, thank you for your efforts to make building Electron apps with Next.js simpler! I've followed along with the blog post and skeleton app and have everything working locally, but when I run next build renderer && next export renderer as instructed, I get this error: no such file or directory, open '{myAppDir}/renderer/.next/BUILD_ID':

screen shot 2017-07-30 at 12 59 28 am

Is this a bug with how electron-next exports? I'm using this next.config.js:

screen shot 2017-07-30 at 1 00 03 am

Here is my project: https://github.com/trevordmiller/hideaway. This issue can be reproduced by cloning it and running npm install && npm run build

leo commented 7 years ago

Fixed on Slack. Just upgrade to next@3.0.1-beta.20 😊