Git Product home page Git Product logo

emacs-jscs's People

Contributors

papaeye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emacs-jscs's Issues

Putting on ELPA

Is there a way this package (with dependencies) can be put on one of emacs' online package repositories for easier installation? elpa, or melpa, etc?

Thanks for the package!

M-x jscs-fix error

Hello, I'm having trouble with your package. I installed the most recent version on melpa, and when I run M-x jscs-fix, I get the following error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-name-directory(nil)
#0 "\301\302\303\304�!!"\207" [jscs-command expand-file-name "../lib/node_modules/" file-name-directory executable-find] 5 "\n\n(fn)"
funcall(#[0 "\301\302\303\304�!!"\207" [jscs-command expand-file-name "../lib/node_modules/" file-name-directory executable-find] 5 "\n\n(fn)"])
eval((funcall (function #[0 "\301\302\303\304�!!"\207" [jscs-command expand-file-name "../lib/node_modules/" file-name-directory executable-find] 5 "\n\n(fn)"])))
byte-code("\303�\304N\211�\203�� @\202��\n)!\207" [symbol sv exp eval saved-value] 4)
custom-initialize-reset(jscs-node-path (funcall (function #[0 "\301\302\303\304�!!"\207" [jscs-command expand-file-name "../lib/node_modules/" file-name-directory executable-find] 5 "\n\n(fn)"])))
custom-declare-variable(jscs-node-path (funcall (function #[0 "\301\302\303\304�!!"\207" [jscs-command expand-file-name "../lib/node_modules/" file-name-directory executable-find] 5 "\n\n(fn)"])) "The NODE_PATH environment variable." :type string :group jscs)
byte-code("\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315\304\301&�\210\306\316\310\311\317DD\320\314\315\304\301&�\210\306\321\310\311\322DD\323\314\315\304\301&�\207" [custom-declare-group jscs nil "Consistent JavaScript editing using JSCS" :group tools custom-declare-variable jscs-command funcall function #[0 "\300\207" ["jscs"] 1 "jscs\n\n(fn)"] "The 'jscs' command." :type string jscs-node-command #[0 "\300\207" ["node"] 1 "node\n\n(fn)"] "The 'node' command." jscs-node-path #[0 "\301\302\303\304�!!"\207" [jscs-command expand-file-name "../lib/node_modules/" file-name-directory executable-find] 5 "\n\n(fn)"] "The NODE_PATH environment variable."] 8)
autoload-do-load((autoload "jscs" nil t nil) jscs-fix)
command-execute(jscs-fix record)
execute-extended-command(nil "jscs-fix")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)

I have jscs set up properly, with a .jscsrc in the current directory, if that helps.

M-x jscs-fix "Wrong number of arguments"

I'm getting the following error:
let*: Wrong number of arguments: (lambda (file-name) (car (cdr (split-string file-name "\\.")))), 2

I'm currently working on hunting it down, with limited elisp debugging skills.

Any help is appreciated.

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.