Skip to content

buggy npm run prod with Amplify Datastore #934

Closed Answered by brillout
charlieforward9 asked this question in Help & Questions
Discussion options

You must be logged in to vote

The ERR_UNSUPPORTED_DIR_IMPORT error should be gone if you add AWS amplify to ssr.noExternal (I believe '@aws-amplify/datastore' is the one you need to add). Can you confirm?

Once that's fixed, do you get another error?

Replies: 4 comments 24 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
19 replies
@brillout
Comment options

Answer selected by charlieforward9
@charlieforward9
Comment options

@brillout
Comment options

@charlieforward9
Comment options

@brillout
Comment options

Comment options

You must be logged in to vote
3 replies
@brillout
Comment options

@charlieforward9
Comment options

@brillout
Comment options

Comment options

You must be logged in to vote
2 replies
@brillout
Comment options

@brillout
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants