Giter VIP home page Giter VIP logo

brackets-es6-autocompile's People

Contributors

hu9o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

brackets-es6-autocompile's Issues

Sometimes, deleting a .js file or renaming .js to es6 will stop compiles for directory.

Originally, I renamed a .js file to .es6 and then compiling stopped. I had been creating files as .es6 and had accidentally done .js, so I was correcting that when it happened. What's odd is, if it happens and then I copy all the .es6 files to a fresh directory, open that folder in brackets, and click the file, it goes back to compiling just fine. I did several variations in fresh directories, and once it stops compiling, the only thing that would work was to move them to a fresh directory. I've also tried deleting the .js file and sometimes the compiling would stop. I'd say 70% of the time one of those two things will freeze the compiler. The other 30%, deleting the file or renaming did fine and it kept working.

This may be more Brackets related, but no errors are produced until the compiles stop. Here's what I keep seeing:

Exception in 'currentFileChange' listener on Object {on: function, off: function, one: function, trigger: function, _EventDispatcher: true…} TypeError: Cannot read property 'fullPath' of null TypeError: Cannot read property 'fullPath' of null
    at fileChangeHandler (file:///C:/Users/ergose/AppData/Roaming/Brackets/extensions/user/vcfvct.brackets-file-format/main.js:85:56)
    at Object.trigger (/utils/EventDispatcher.js:233:40)
    at eval (/view/MainViewManager.js:1109:29)
    at Pane.trigger (/utils/EventDispatcher.js:233:40)
    at Pane._notifyCurrentViewChange (/view/Pane.js:893:14)
    at Pane._reset (/view/Pane.js:1315:18)
    at eval (/view/MainViewManager.js:1378:18)
    at eval (/thirdparty/lodash.js:26:23)
    at _t (/thirdparty/lodash.js:14:392)
    at eval (/thirdparty/lodash.js:25:369)ErrorNotification.js:125 window.console.error/utils/EventDispatcher.js:235 trigger/view/MainViewManager.js:1109 (anonymous function)/utils/EventDispatcher.js:233 trigger/view/Pane.js:893 Pane._notifyCurrentViewChange/view/Pane.js:1315 Pane._reset/view/MainViewManager.js:1378 (anonymous function)/thirdparty/lodash.js:26 (anonymous function)/thirdparty/lodash.js:14 _t/thirdparty/lodash.js:25 (anonymous function)/thirdparty/lodash.js:30 (anonymous function)/view/MainViewManager.js:492 _forEachPaneOrPanes/view/MainViewManager.js:1372 _closeAll/project/ProjectManager.js:869 _loadProject/project/ProjectManager.js:1026 (anonymous function)/filesystem/impls/appshell/AppshellFileSystem.js:187 (anonymous function)
/utils/EventDispatcher.js:236 Assertion failed:/utils/EventDispatcher.js:236 trigger/view/MainViewManager.js:1109 (anonymous function)/utils/EventDispatcher.js:233 trigger/view/Pane.js:893 Pane._notifyCurrentViewChange/view/Pane.js:1315 Pane._reset/view/MainViewManager.js:1378 (anonymous function)/thirdparty/lodash.js:26 (anonymous function)/thirdparty/lodash.js:14 _t/thirdparty/lodash.js:25 (anonymous function)/thirdparty/lodash.js:30 (anonymous function)/view/MainViewManager.js:492 _forEachPaneOrPanes/view/MainViewManager.js:1372 _closeAll/project/ProjectManager.js:869 _loadProject/project/ProjectManager.js:1026 (anonymous function)/filesystem/impls/appshell/AppshellFileSystem.js:187 (anonymous function)
ScopeManager.js:1073 Worker: Error thrown in tern_worker:undefined is not a function
TypeError: undefined is not a function
    at infer (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1100:39)
    at file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:965:14
    at Object.SequenceExpression (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:906:15)
    at infer (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1100:39)
    at propName (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:873:12)
    at file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:994:17
    at Object.AssignmentExpression (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:906:15)
    at infer (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1100:39)
    at Object.walk.make.Expression (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1105:7)
    at c (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/acorn/util/walk.js:60:37)

This is the other variation I keep seeing (event dispatcher only has 'trigger'):

Exception in 'currentFileChange' listener on Object TypeError: Cannot read property 'fullPath' of null TypeError: Cannot read property 'fullPath' of null
    at fileChangeHandler (file:///C:/Users/ergose/AppData/Roaming/Brackets/extensions/user/vcfvct.brackets-file-format/main.js:85:56)
    at Object.trigger (/utils/EventDispatcher.js:233:40)
    at eval (/view/MainViewManager.js:1109:29)
    at Pane.trigger (/utils/EventDispatcher.js:233:40)
    at Pane._notifyCurrentViewChange (/view/Pane.js:893:14)
    at Pane._reset (/view/Pane.js:1315:18)
    at eval (/view/MainViewManager.js:1378:18)
    at eval (/thirdparty/lodash.js:26:23)
    at _t (/thirdparty/lodash.js:14:392)
    at eval (/thirdparty/lodash.js:25:369)
/utils/EventDispatcher.js:236 Assertion failed:/utils/EventDispatcher.js:236 trigger
extensions/default/JavaScriptCodeHints/ScopeManager.js:1073 Worker: Error thrown in tern_worker:undefined is not a function
TypeError: undefined is not a function
    at infer (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1100:39)
    at file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:965:14
    at Object.SequenceExpression (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:906:15)
    at infer (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1100:39)
    at propName (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:873:12)
    at file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:994:17
    at Object.AssignmentExpression (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:906:15)
    at infer (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1100:39)
    at Object.walk.make.Expression (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/tern/lib/infer.js:1105:7)
    at c (file:///C:/Program%20Files%20(x86)/Brackets/www/extensions/default/JavaScriptCodeHints/thirdparty/acorn/util/walk.js:60:37)

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.