I’m using parcel js as the package bundler for my project. Whenever I write a scss file, parcel installs transformer/sass to parse the scss file. Everything works locally but whenever I push it to Heroku, the build fails with this error
@parcel/package-manager: Could not find module "@parcel/transformer-sass", but
it was listed in package.json. Run your package manager first.
/tmp/build_b6e0e662/client/package.json:22:5
21 | "devDependencies": {
> 22 | "@parcel/transformer-sass": "^2.7.0",
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Defined here, but not installed
23 | "parcel": "^2.7.0",
24 | "process": "^0.11.10"
I’m not sure how to fix this issue. Please help