generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
I followed the instructions here to set up a vue starter project.
All works great, and the sandbox is working fine too.
I then followed the steps here to enable email domain filtering.
While I make these changes, my sandbox deployment works as expected.
When I commit my changes to main
, the Amplify deployment fails with
amplify/auth/pre-sign-up/handler.ts:2:21 - error TS2307: Cannot find module '$amplify/env/pre-sign-up' or its corresponding type declarations.
2 import { env } from '$amplify/env/pre-sign-up';
~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
ERROR: "type-check" exited with 2.
per these troubleshooting instructions, I try adjusting tsconfig.json
to include
{
"exclude": ["amplify/**/*"]
}
But this has no effect. The deployment still fails, as well as a npm run build
at the root of my project with that same error.
This error has been discussed here, so unsure if there is something simple in this template that would address or not.
Appreciate any time you can give this
Metadata
Metadata
Assignees
Labels
No labels