Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Heroku rejects builds because of fsevents #187

Open
juanlanus opened this issue Feb 8, 2021 · 3 comments
Open

Heroku rejects builds because of fsevents #187

juanlanus opened this issue Feb 8, 2021 · 3 comments

Comments

@juanlanus
Copy link

I ran a deploy to Heroku from my Ubuntu 20 PC.
It consistently failed reporting
npm ERR! fsevents not accessible from jest-haste-map
while loading the dependencies.
As I browsed StackOverflow, I saw a number of questions that mentioned fsevents in the pasted build logs, that's why I'm writing this here. It's a MacOs-only module.
The solution was to make fsevents optional with
npm i fsevents@latest -f --save-optional
I don't think this can be solved by this buildpack (can it?) but at least this issue and its solution could be mentioned in the troubleshooting section to save rookies like me a lot of blood and tears.

Apart from that, the buildpack worked fine. I could publish a client-only React app without having to learn about deploying, thanks you guys!

@antoniojobs
Copy link

Boa noite eu também estou tendo problemas de implantação.Perdoem minha ignorância mas não sei se aqui é o local correto para relatar isso.

-----> Building on the Heroku-20 stack
! error fetching custom buildpack https://buildpack-registry.s3.amazonaws.com/buildpacks/mars/create-react-app-buildpack.tgz.tgz.tgz
! Push failed

@g3david405
Copy link

THANKS!!!

@antoineGH
Copy link

I met the same issue on Windows 10 while trying to deploy on Heroku.

Ignoring the module allowed me to complete my build.

npm i fsevents@latest -f --save-optional

Thank you !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants