deployment of the nextJS Static Reactions Demo forked for use on the XDN, GitHub - howdiz/reactions: Next.js Incremental Static Regeneration Demo fails with the following:
Waiting for build to be initialized…
Build failed with error: Project build failed
Error: ENOENT: no such file or directory, stat ‘/Users/howard.ross/Repos/reactions/.next/static/service-worker.js’
at Object.statSync (fs.js:1016:3)
at Object.statSync (/Users/howard.ross/Repos/reactions/node_modules/graceful-fs/polyfills.js:307:34)
at getStatsSync (/Users/howard.ross/Repos/reactions/node_modules/fs-extra/lib/util/stat.js:58:18)
at Object.checkPathsSync (/Users/howard.ross/Repos/reactions/node_modules/fs-extra/lib/util/stat.js:90:33)
at Object.copySync (/Users/howard.ross/Repos/reactions/node_modules/fs-extra/lib/copy-sync/copy-sync.js:24:38)
at DeploymentBuilder.copySync (/Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:316:27)
at DeploymentBuilder.addStaticAsset (/Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:240:14)
at /Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:450:39
at Array.forEach ()
at DeploymentBuilder. (/Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:442:34)
at step (/Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:45:23)
at Object.next (/Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:26:53)
at fulfilled (/Users/howard.ross/Repos/reactions/node_modules/@xdn/core/deploy/DeploymentBuilder.js:17:58)
e[1m🛠️ Building your app for deployment on the e[1me[3mMOOVWEBe[23m e[3me[38;2;109;89;239mXe[39me[23me[3me[38;2;156;87;207mDe[39me[23me[3me[38;2;211;85;167mNe[39me[23me[1me[22m
Creating an optimized production build…
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Optimizing serverless functions (Webpack 4)
Compiled with warnings.
./node_modules/next/dist/next-server/server/load-components.js
Critical dependency: the request of a dependency is an expression
./node_modules/next/dist/next-server/server/load-components.js
Critical dependency: the request of a dependency is an expression
./node_modules/next/dist/next-server/server/require.js
Critical dependency: the request of a dependency is an expression
./node_modules/next/dist/next-server/server/require.js
Critical dependency: the request of a dependency is an expression
Automatically optimizing pages…
Page Size First Load JS
┌ ● / 3.83 kB 61.9 kB
├ /_app 0 B 58.1 kB
└ ○ /404 3.41 kB 61.5 kB
+ First Load JS shared by all 58.1 kB
├ chunks/f6078781a05fe1bcb0902d23dbbb2662c8d200b3.cbab4e.js 10.1 kB
├ chunks/framework.9c868a.js 40 kB
├ chunks/main.b31681.js 6.97 kB
├ chunks/pages/_app.fd795b.js 295 B
├ chunks/webpack.488dc2.js 751 B
└ css/ed1373ac990eba1772d7.css 304 B
λ (Lambda) server-side renders at runtime (uses getInitialProps or getServerSideProps)
○ (Static) automatically rendered as static HTML (uses no initial props)
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
Redirects
┌ source: /:path+/
├ destination: /:path+
└ permanent: true
Bundling routes.js and xdn.config.js… done.
Error: Project build failed
at DeployCommand._wrappedRun (/Users/howard.ross/Repos/reactions/node_modules/@xdn/cli/commands/deploy.js:240:19)
2020-11-30T16:25:20Z - info - -----------------------
2020-11-30T16:25:20Z - info - InitializeBuild job started
2020-11-30T16:25:20Z - info - Running job ‘initializeBuild’ on xdn-build-lambda v2.30.1
2020-11-30T16:25:20Z - info - > Provisioning environment
2020-11-30T16:25:24Z - info - > Environment provisioned
2020-11-30T16:25:26Z - info - InitializeBuild job succeeded