Razzle is a server side rendering framework.
Here is the error:
/home/ajay/Ajay Nagotha/Projects/react-ssr-demo/luma-ssr/node_modules/react-bootstrap/esm/Container.js:1
import classNames from 'classnames';
^^^^^^
SyntaxError: Cannot use import statement outside a module
If you are using Visual Studio Code and let it automatically add the imports, it can use the incorrect path.
When I ran into this in my Typescript project, I had Code do the import, which creates the code
The correct code doesn't have the esm path and should be