Comments (5)
If you run importjs logpath
you get a path to a file that importjs uses for logging. I have a vague memory of running into this in the past while developing the sublime plugin but I can't recall what caused it. Let's hope there's something useful in the log file.
from sublime-import-js.
Sorry for being a day slow
The log path printed is /tmp/importjs.log and below is it's contents
1506530627164 ERROR PID:15783 Watchman: Watchman was not found in PATH. See https://facebook.github.io/watchman/docs/install.html for installation instructions
1506530627167 WARN PID:15783
Couldn't initialize the Watchman watcher. This is most likely because
you don't have Watchman installed. Follow instructions here if you
want to rid this warning:
https://facebook.github.io/watchman/docs/install.html
ImportJS will fall back to polling instead. This is slower, and more
resource-heavy. Plus, changes will not be immediately available.
Reason: Watchman was not found in PATH. See https://facebook.github.io/watchman/docs/install.html for installation instructions
Error: Watchman was not found in PATH. See https://facebook.github.io/watchman/docs/install.html for installation instructions
at exports._errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
at onErrorNT (internal/child_process.js:374:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
1506530627411 ERROR PID:15783 Failed to resolve "@types/jasmine" relative to /home/brad/Sandbox/angular4-playground
1506530627412 ERROR PID:15783 Failed to resolve "@types/node" relative to /home/brad/Sandbox/angular4-playground
1506530627462 ERROR PID:15783 Failed to resolve "karma-cli" relative to /home/brad/Sandbox/angular4-playground
from sublime-import-js.
I think the watchman error is mostly unrelated, but you could try installing it and see if that makes any difference.
from sublime-import-js.
I installed watchmen, and I no longer get the first error.
I had to restart and everything seems to be working.
So is it possible watchmen is a dependency?
from sublime-import-js.
It's likely that there is a bug with the fallback. I've been going back and forth about whether to include it as a hard dependency or not. I don't want to force it on people, but then again, if the backup solution isn't working well we might as well kill it.
Thanks for following up. I'll close this issue until I hear about others running into the same thing. And at that time we can make a decision about whether to drop support or not.
from sublime-import-js.
Related Issues (18)
- Make sublime plugin async HOT 5
- Python error: Can't convert 'NoneType' object to str implicitly
- Broken Pipe HOT 33
- How can we configure .importjs.js which is documented in https://github.com/Galooshi/import-js? HOT 3
- Importjs for Angular5 HOT 3
- OSError: [Errno 22] Invalid argument HOT 4
- Improve compatibility with nvm HOT 18
- Code of conduct link is invalid in CONTRIBUTING.md HOT 2
- Doesn't work with [email protected] HOT 3
- Not importing prop-types HOT 4
- .import.js config file not work
- Couldn't find executable importjsd. HOT 2
- add import statement in top of a html file HOT 2
- Running ImportJS command... Commands no longer working HOT 2
- .sublime-settings are ignored - documentation error?
- Mysterious line-break inserted HOT 6
- When fixing and asking for selections, does not import words that do not need prompts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-import-js.