I've developed a compact application and I'm in the process of deploying it to Heroku. However, I keep encountering an error stating: '@emotion/is-prop-valid' dependency cannot be resolved. It's worth mentioning that this project does not involve create-react-app.
The complete error message reads as follows: 🚨 /tmp/build_7241c20b1c425be31049d4add81a048a/node_modules/react-pose/lib/index.js:10:42: Cannot resolve dependency '@emotion/is-prop-valid'
Here is a snippet from the package.json file outlining the configuration:
{
"name": "name",
"version": "2.0.0",
"description": "description",
"engines": {
"npm": "6.0.0",
"node": "10.9.0"
},
...
}
Despite searching extensively, no similar instances of this particular error seem to have been reported. My assumption is that react-pose relies on the emotion module, yet I am unsure how to prompt Heroku to download it.
I'd greatly appreciate any assistance offered. Thank you!