73rhodes / Sublime-JSLint

JSLint for Sublime Text 2 and 3.
80 stars 14 forks source link

Sublime Text 3 Support - Error: Cannot find module #13

Closed nodesocket closed 11 years ago

nodesocket commented 11 years ago

Just installed JSLint on Sublime Text 3 with the package manager, but getting:

Error: Cannot find module '/Users/justin/Library/Application Support/Sublime Text 3/Packages/JSLint/linter.js'

Does JSLint work with Sublime Text 3?

jbutz commented 11 years ago

I just installed it in Windows and this is what I get:

module.js:340
    throw err;
          ^
Error: Cannot find module 'C:\Users\J\AppData\Roaming\Sublime Text 3\Packages\JSLint\linter.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3
plukevdh commented 11 years ago

Same here, Mac with ST3.

leftdevel commented 11 years ago

Same here. OSX, ST3, build 3047.

darrenderidder commented 11 years ago

"Fast and easy JSLint build system for Sublime Text 2"

Patches welcome.

alehander92 commented 11 years ago

I found a workaround on Windows similar to workarounds for other Sublime Text 2 packages

C:>cd "%APPDATA%/Sublime Text 3/Packages"
C:> mkdir JSHint
C:> cd JSHint

Unzip here the the files from the package archive.

darrenderidder commented 11 years ago

Thanks alahander42.

rafbgarcia commented 10 years ago

Thanks @alehander42. Just notice that the folder name is JSLint, not JSHint, right?

wuchun4 commented 8 years ago

No matching processes belonging to you were found module.js:329 throw err; ^

Error: Cannot find module '/Volumes/Macintosh' at Function.Module._resolveFilename (module.js:327:15) at Function.Module._load (module.js:278:25) at Function.Module.runMain (module.js:431:10) at startup (node.js:141:18) at node.js:977:3

HuanChu369 commented 7 years ago

cd /Users/H/Library/Application\ Support/Sublime\ Text\ 2/Packages/User

Maybe you can try this one, use '\ ' replace all of space in the command .