Paul Stone
06/18/2022, 1:58 AMfile:///C:/Users/User/source/sst/nextjs-app/.build/lib/index.js:20
var site = new NextjsSite(stack, "Site", {
^
ReferenceError: NextjsSite is not defined
at file:///C:/Users/User/source/sst/nextjs-app/.build/lib/index.js:20:12
at ModuleJob.run (node:internal/modules/esm/module_job:197:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
at async file:///C:/Users/User/source/sst/nextjs-app/node_modules/@serverless-stack/cli/assets/debug-stack/bin/index.mjs:20:17
I also tried the react example on the site, but it does not seem to create the correct folders referenced in the example - the backend/ folder is missing..Adrian Schweizer
06/18/2022, 9:13 AM@serverless-stack/resources
Adrian Schweizer
06/18/2022, 9:14 AMimport { NextjsSite } from '@serverless-stack/resources';
Paul Stone
06/18/2022, 12:50 PMAdrian Schweizer
06/18/2022, 12:57 PMAdrian Schweizer
06/18/2022, 12:58 PMFrank