Closed L0y3r closed 2 years ago
After a deeper research I found that this error belongs to snowpack library instead of this, so I'll close it
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Describe the bug
When I just import
Amplify
in the project, snowpack throw this errorAfter a research I found that this is the file that causes the error, so maybe upgrading the version of it can fix it
Expected behavior
Not throw an error
Reproduction steps
npx create-snowpack-app test --template @snowpack/app-template-svelte
npm i aws-amplify
polyfillNode: true
topackageOptions
insnowpack.config.mjs
npm start
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response