Giter Club home page Giter Club logo

Comments (5)

trotzig avatar trotzig commented on June 8, 2024

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.

bradtaniguchi avatar bradtaniguchi commented on June 8, 2024

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.

trotzig avatar trotzig commented on June 8, 2024

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.

bradtaniguchi avatar bradtaniguchi commented on June 8, 2024

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.

trotzig avatar trotzig commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.