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
> [email protected] start
> webpack && webpack-dev-server --mode development
asset main.bundle.js 41.1 KiB [emitted] (name: main)
asset index.html 1.67 KiB [compared for emit] [from: index.html] [copied]
runtime modules 26.5 KiB 9 modules
./src/app.js 223 bytes [built] [code generated] [1 error]
ERROR in ./src/app.js 6:9
Module parse failed: Unexpected token (6:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| function App() {
> return <Button variation="primary">Hello world</Button>;
| }
|
webpack 5.89.0 compiled with 1 error in 55 ms
I tried adding the loader for css as instructed but no help
I feel stupid because I cannot get this running by following the instructions
Is there some prerequisites that I am missing here or something?
First I did these:
https://docs.amplify.aws/start/getting-started/setup/q/integration/js/
I can get the web page running with npm run
Then I headed to:
https://ui.docs.amplify.aws/react/getting-started/installation
and
https://ui.docs.amplify.aws/react/getting-started/usage
and tried npm run with following error:
I tried adding the loader for css as instructed but no help
My webpack.config.js:
The text was updated successfully, but these errors were encountered: