Trey Overton
05/19/2022, 7:13 PMTypeError: import_sst.MojoStack is not a constructor
Is using the functional version not optional after all?thdxr
05/19/2022, 7:37 PMTrey Overton
05/19/2022, 7:46 PMDerek Kershner
05/19/2022, 8:10 PMMojoConfig
coming from outside a package in a monorepo? Or…above the sst.json
file?Derek Kershner
05/19/2022, 8:13 PMTrey Overton
05/19/2022, 9:19 PMTrey Overton
05/20/2022, 12:16 PMTypeError: import_sst2.MojoStack is not a constructor
at /tmp/seed/source/stacks/index.ts:21:13
at Array.forEach (<anonymous>)
at Object.main (/tmp/seed/source/stacks/index.ts:19:36)
at Object.<anonymous> (/tmp/seed/source/.build/run.js:92:16)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
Notices refreshed
There was an error synthesizing your app.
error Command failed with exit code 1.
Trey Overton
05/20/2022, 12:16 PMTrey Overton
05/20/2022, 1:26 PMFrank
import_sst2.MojoStack
sst2
makes me feel there might be 2 versions of SST in node_modules
?Frank
^
) in package.json.Trey Overton
05/20/2022, 3:13 PMTrey Overton
05/20/2022, 3:14 PMTrey Overton
05/20/2022, 3:14 PMFrank
Trey Overton
05/20/2022, 3:48 PM