pichillilorenzo / JavaScriptEnhancements

JavaScript Enhancements is a plugin for Sublime Text 3. It offers not only a smart javascript autocomplete but also a lot of features about creating, developing and managing javascript projects (real-time errors, code refactoring, etc.).
MIT License
638 stars 41 forks source link

Just installed from package manager but getting flow error #63

Closed benonymus closed 6 years ago

benonymus commented 6 years ago

Expected Behavior

Starting

Actual Behavior

giving error

Sublime Text console logs

Wrong version of Flow. The config specifies version ^0.67.0 but this is version 0.74.0 Could not start Flow server!

Screenshots

Steps to Reproduce the Problem

  1. install from package manager

Specifications

benonymus commented 6 years ago

it is the same if I install it manually

pichillilorenzo commented 6 years ago

Because, like the message itself say, the flow version is wrong. You have specified in your .flowconfig file a different version, but the plugin works with the 0.74.0 version. If you want to work specifily with the 0.67.0 version, then you need to install it locally, in your project, and reference it in flow_cli_custom_path of the project_settings.json file (https://github.com/pichillilorenzo/JavaScriptEnhancements/wiki/Project-settings)

Moreover the version of the plugin that you specified is incorrect: 2.6.99 is the version of the JavaScript Completion plugin and not of this new one!

benonymus commented 6 years ago

oh thanks :D