ditinc / linter-cflint

:shirt: CFLint plugin for Atom Linter
MIT License
4 stars 7 forks source link

Getting registry errors when I open a .CFM file in Atom #19

Closed dkh7m closed 7 years ago

dkh7m commented 8 years ago

I get the following errors in the Atom debugger when I open a .CFM file. I have JRE and JDK installed and have the JAVA_HOME path set in my variables.

/C:/Users/[user]/.atom/packages/linter-cflint/lib/main.js:151 Error: Command failed: reg query "hklm\software\javasoft\java development kit" ERROR: The system was unable to find the specified registry key or value.

Error: Command failed: reg query "hklm\software\wow6432node\javasoft\java development kit" ERROR: The system was unable to find the specified registry key or value. (anonymous function) @ /C:/Users/[user]/.atom/packages/linter-cflint/lib/main.js:151

clang676 commented 7 years ago

Hey @dkh7m did you ever figure out a way to correct this problem?

sjmatta commented 7 years ago

I believe this is fixed in the latest version of find-java-home, which linter-cflint is using: https://github.com/jsdevel/node-find-java-home/pull/12

I'll update the dependency.

sjmatta commented 7 years ago

Should be resolved in the latest release. Sorry for the delay.

dkh7m commented 7 years ago

Thanks! I haven’t checked yet but will today.

On Dec 7, 2016, at 8:07 AM, Stephen Matta notifications@github.com<mailto:notifications@github.com> wrote:

Should be resolved in the latest release. Sorry for the delay.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ditinc/linter-cflint/issues/19#issuecomment-265442644, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARRys1ngUvDAvnkLLGKcB--nJkW348Hpks5rFq-YgaJpZM4JfI45.