Davide Ungari
12/29/2021, 12:17 AM====================
🛠 Compile
====================
$ cd /tmp/seed/source
INFO: before_compile hook not found. You can define it in your build spec.
INFO: Learn more about adding a build spec - seed.run/docs/adding-a-build-spec
INFO: Looking for package.json...
$ npm install
34.90 s
====================
🧪 Unit Test
====================
INFO: Unit tests are disabled. You can enable them in the app settings.
INFO: Learn more about running tests - seed.run/docs/running-tests
====================
📦 Build
====================
$ cd /tmp/seed/source
INFO: before_build hook not found. You can define it in your build spec.
INFO: Learn more about adding a build spec - seed.run/docs/adding-a-build-spec
$ npx sst build --stage develop --region eu-west-1 --verbosenpx sst buildnpm installnextBuilding Next.js site frontend
Error: There was a problem building the "site" NextjsSite.Davide Ungari
12/29/2021, 12:21 AMnpm installfrontendnpx sst build...Davide Ungari
12/29/2021, 12:21 AMJonathan Farmand
12/29/2021, 12:25 AMbefore_build:
  - cd frontend && npm install
  - ls -lsa node_modules/nextJonathan Farmand
12/29/2021, 12:26 AMDavide Ungari
12/29/2021, 12:30 AMJonathan Farmand
12/29/2021, 12:33 AMJonathan Farmand
12/29/2021, 12:37 AMinfo  - Creating an optimized production build...
(node:698) [DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE] DeprecationWarning: Chunk.hasEntryModule: Use new ChunkGraph API
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:698) [DEP_WEBPACK_CHUNK_ADD_MODULE] DeprecationWarning: Chunk.addModule: Use new ChunkGraph API
Error: There was a problem building the "Site" NextjsSite.
    at NextjsSite.buildApp (/tmp/seed/source/node_modules/@serverless-stack/resources/src/NextjsSite.ts:607:13)
    at new NextjsSite (/tmp/seed/source/node_modules/@serverless-stack/resources/src/NextjsSite.ts:148:16)
    at new FrontendStack (/tmp/seed/source/stacks/FrontendStack.js:9:18)
    at Object.main (/tmp/seed/source/stacks/index.js:17:3)
    at Object.<anonymous> (/tmp/seed/source/.build/run.js:94:16)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)Jonathan Farmand
12/29/2021, 1:00 AMJay
Davide Ungari
01/04/2022, 9:04 AMbefore_build:
  - cd frontend && npm ciDavide Ungari
01/04/2022, 9:12 AMsst buildDavide Ungari
01/04/2022, 9:13 AMJay