flowtype-loader
flowtype-loader copied to clipboard
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCES
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.
Are you using node 7.x?
@torifat 6.7.0
@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 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.
I also encountered the same problem, may I ask how to solve it?