Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint.js file not found #47

Open
PhiLhoSoft opened this issue Mar 13, 2015 · 3 comments
Open

lint.js file not found #47

PhiLhoSoft opened this issue Mar 13, 2015 · 3 comments

Comments

@PhiLhoSoft
Copy link

I use latest version of Ternific with latest version (1.2) of Brackets, on Windows 7.
In the developer console, I get lot of errors about a missing file:

Failed to load resource: net::ERR_FILE_NOT_FOUND
/C:/Users/PhiLho/AppData/Roaming/Brackets/extensions/user/ternific/TernWorker.js:42 Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'file:///C:/Users/PhiLho/AppData/Roaming/Brackets/extensions/user/ternific/libs/tern/plugin/lint.js' failed to load.

and indeed I have no file of this name there.
Can I install it manually to fix that? Or change some setting to skip attempts to load it? Or, better, maybe you can fix the issue? 😄

Thanks.

@PhiLhoSoft
Copy link
Author

I upgraded to 0.8.0, and I still see the message.
There is an improvement, though: it is not repeated on each file change.
So this became a minor issue (I use another plugin for the linter).

@MiguelCastillo
Copy link
Owner

@PhiLhoSoft Ah terribly sorry for no response at all! There have been changes around plugin loading which perhaps have resolved your issue. I really don't see this issue. If you are still running into this issue, could you share your .tern-project file?

@PhiLhoSoft
Copy link
Author

Hey, I was wondering if I will ever receive an answer! ;-)
No worries, it is only a minor annoyance, and as said, reduced now.
But I fear it is still present in latest version (I just updated right now):

Failed to load resource: net::ERR_FILE_NOT_FOUND -> file:///C:/Users/plhoste/AppData/Roaming/Brackets/extensions/user/ternific/node_modules/tern/plugin/lint.js

Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'file:///C:/Users/plhoste/AppData/Roaming/Brackets/extensions/user/ternific/node_modules/tern/plugin/lint.js' failed to load. -> /C:/Users/plhoste/AppData/Roaming/Brackets/extensions/user/ternific/TernWorker.js:58

As I wrote, the file is just not there, at the indicated path. In this directory, I have only the following files:

requirejs.js
angular.js
commonjs.js
complete_strings.js
doc_comment.js
es_modules.js
modules.js
node.js
node_resolve.js

So it looks more like a problem of installation (I even removed and reinstalled the plugin) than of settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants