fmiras / next-pkg

Extended Next.js server with pkg support
MIT License
66 stars 11 forks source link

Error copying temporary files: no such file or directory '...../node_modules/next-pkg/lib/server.js' #71

Open lukebarton opened 5 years ago

lukebarton commented 5 years ago

Works if I hack the dist/index.js to point at server/index.js instead of ../lib/server.js.

Haven't looked any deeper.

x4080 commented 5 years ago

Your hack works, but I dont know if .next dir should be inside nextjs.exe or still need this directory

acgray commented 4 years ago

+1

iChaosren commented 3 years ago

+1

FernandoAndrade83 commented 2 years ago

+1

fabkoh commented 2 years ago

Currently facing the same issue. Does this have a permanent fix or @lukebarton 's workaround is the best way around this? Thanks in advance.