<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vishal Chaurasia</title>
    <description>The latest articles on DEV Community by Vishal Chaurasia (@vchaurasia95).</description>
    <link>https://dev.to/vchaurasia95</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F881615%2Ff4748979-769d-4e86-a028-813fca2363b7.jpeg</url>
      <title>DEV Community: Vishal Chaurasia</title>
      <link>https://dev.to/vchaurasia95</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vchaurasia95"/>
    <language>en</language>
    <item>
      <title>Must use import to load ES Module Error in AWS Pipeline</title>
      <dc:creator>Vishal Chaurasia</dc:creator>
      <pubDate>Thu, 23 Jun 2022 16:00:09 +0000</pubDate>
      <link>https://dev.to/vchaurasia95/must-use-import-to-load-es-module-error-4ho8</link>
      <guid>https://dev.to/vchaurasia95/must-use-import-to-load-es-module-error-4ho8</guid>
      <description>&lt;p&gt;Hi Everyone,&lt;/p&gt;

&lt;p&gt;I'm pretty new to react. Recently I created a reactjs application using the create-react-app and when I'm trying to build the application on AWS Code Build it shows the following error:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SUBr-a1a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wras3gbiiel8f3f3l97w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SUBr-a1a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wras3gbiiel8f3f3l97w.png" alt="Image description" width="880" height="113"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Node version is 12 currently, but I have tried running on version 16 &amp;amp; 18 as well but the same error is encountered. Interestingly, when I try to run "npm run build" locally it runs successfully. I have further attached snippets of package.json file below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "name": "my-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@emotion/react": "^11.9.3",
    "@emotion/styled": "^11.9.3",
    "@fontsource/roboto": "^4.5.7",
    "@mui/icons-material": "^5.8.4",
    "@mui/material": "^5.8.5",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-scripts": "5.0.1",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "browserslist": {
    "production": [
      "&amp;gt;0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Any help to resolve this issue will be greatly appreciated.&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>help</category>
    </item>
  </channel>
</rss>
