larsonjj / grunt-flow

Validates JavaScript with Facebook's Flow Library
20 stars 5 forks source link

Fatal error: spawn W:\go-workspace\src\github.com\cristian-sima\contabilitate\node_modules\flow-bin\vendor\flow #6

Closed cristian-sima closed 8 years ago

cristian-sima commented 8 years ago

Hi,

I have start using grunt-flow with this configuration:

  options: {
    style: 'color'
  },
  es6 :{
    src: 'static/js-source/**/*.es6'
  }

but I get this

image

larsonjj commented 8 years ago

Hey @cristian-sima,

Apologies for the late response. The ENOENT error in node means that the file or folder the system is looking for does not exist. It could also mean that you do not have the correct permissions on your machine to access those files/folders.

I am unable to replicate this issue on my machines, so it could be specific to your local environment. It also looks like you might be working within a remote/work environment, so you might need to contact your systems administrator to get the correct permissions.

Also be aware that flow-bin does not support Windows at the moment (support in progress), so that is most likely causing problems as well.

Hopefully this helps. Good luck!

cristian-sima commented 8 years ago

Is there any alternative for this or a workaround such that I can use grunt with flow-js on windows?