Hello, awesome people from the CircleCI community. I’m fairly new at CircleCI build config and things like that and is stuck with my build failing with Module not found, for days now.
I did some research, and added NODE_PATH=./src in package.json build scripts, even tried creating .env file with NODE_PATH=src, both method works locally, but the committed repository on CircleCI is always failing. I even tried changing the code imports from absolute path to relative path, still no luck. Tried all variations of NODE_PATH=./src everything works locally, but not on CircleCI. Even tried setting environment on config.yml. Any ideas? I’m at my wit’s end.
name: (Production) Build
command: npm run build
Please check [https://github.com/creativetimofficial/material-kit-react/issues/41(https://github.com/creativetimofficial/material-kit-react/issues/41) for more information. Thank you very much.