You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect my app to build both in dev and in production.
Current Behavior
Build fails with both razzle start and razzle build.
Steps to Reproduce
install and import aws-amplify-react
Detailed Description
Here is the error trace:
PROJECT_DIR/node_modules/@aws-amplify/ui/dist/style.css:13
:root {
^
SyntaxError: Unexpected token :
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (PROJECT_DIR/node_modules/aws-amplify-react/src/Amplify-UI/Amplify-UI-Components-React.jsx:5:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
The text was updated successfully, but these errors were encountered:
Expected Behavior
I expect my app to build both in dev and in production.
Current Behavior
Build fails with both razzle start and razzle build.
Steps to Reproduce
Detailed Description
Here is the error trace:
The text was updated successfully, but these errors were encountered: