flowtype-loader icon indicating copy to clipboard operation
flowtype-loader copied to clipboard

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCES

Open anmlkh opened this issue 8 years ago • 5 comments

I have an error

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCES

when try to start app on my vagrant (debian jessie x64). If I disable flowtype-plugin the error is gone.

anmlkh avatar Nov 11 '16 13:11 anmlkh

Are you using node 7.x?

torifat avatar Nov 11 '16 13:11 torifat

@torifat 6.7.0

anmlkh avatar Nov 11 '16 13:11 anmlkh

@andrii-m - EACCES is a permissions issue.

Are you using any options when enabling the FlowtypeLoader plugin?

Also, where is your flow-bin installation? Likely the problem is that was installed with sudo and the webpack build is run with a user that doesn't have access. This thread has some tips for a similar problem.

CodyReichert avatar Nov 26 '16 23:11 CodyReichert

@CodyReichert I use plugin without any options. I've installed flow-bin globally on virtual machine. I always run project with sudo. I've done all instructions from thread you sent but problem still here.

anmlkh avatar Nov 28 '16 16:11 anmlkh

I also encountered the same problem, may I ask how to solve it?

Calvin1121 avatar Jan 11 '18 08:01 Calvin1121