papaeye / emacs-jscs Goto Github PK
View Code? Open in Web Editor NEWConsistent JavaScript editing using JSCS
License: BSD 3-Clause "New" or "Revised" License
Consistent JavaScript editing using JSCS
License: BSD 3-Clause "New" or "Revised" License
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!
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.