emacs-jest icon indicating copy to clipboard operation
emacs-jest copied to clipboard

"Symbol's function definition is void: s-prefix-p" on every option

Open aortegao opened this issue 5 years ago • 1 comments

When trying to run any jest- function I get the following error: Symbol's function definition is void: s-prefix-p

I'm running emacs 26.2

aortegao avatar Aug 01 '19 23:08 aortegao

I have the same thing on emacs 25.3.1 on Linux. Looking at the jest.el file, there's require statements on top, I installed all of these packages.

Reproducable by in emacs:

M-x toggle-debug-on-error M-x toggle-debug-on-quit M-x jest-popup

within jest-popup: enable verbosity

--- (start) debug output -----

Debugger entered--Lisp error: (void-function s-prefix-p) (s-prefix-p option it) (if (s-prefix-p option it) (let ((s it)) (let ((it s)) (let ((it (substring it (length option)))) (let ((it (s-trim it))) (let ((it ...)) (format "%s %s" option it)))))) it) (cons (if (s-prefix-p option it) (let ((s it)) (let ((it s)) (let ((it (substring it ...))) (let ((it ...)) (let (...) (format "%s %s" option it)))))) it) result) (setq result (cons (if (s-prefix-p option it) (let ((s it)) (let ((it s)) (let ((it ...)) (let (...) (let ... ...))))) it) result)) (let ((it (car list))) (setq result (cons (if (s-prefix-p option it) (let ((s it)) (let ((it s)) (let (...) (let ... ...)))) it) result))) (while list (let ((it (car list))) (setq result (cons (if (s-prefix-p option it) (let ((s it)) (let (...) (let ... ...))) it) result))) (setq it-index (1+ it-index)) (setq list (cdr list))) (let ((list args) (it-index 0)) (while list (let ((it (car list))) (setq result (cons (if (s-prefix-p option it) (let (...) (let ... ...)) it) result))) (setq it-index (1+ it-index)) (setq list (cdr list)))) (let (result) (let ((list args) (it-index 0)) (while list (let ((it (car list))) (setq result (cons (if (s-prefix-p option it) (let ... ...) it) result))) (setq it-index (1+ it-index)) (setq list (cdr list)))) (nreverse re$ jest--quote-string-option(("--expand" "--verbose" "--color=no") "-k") (let ((it (jest--quote-string-option it "-k"))) (jest--quote-string-option it "-m")) (let ((it (jest--switch-to-option it "--color" "--color=yes" "--color=no"))) (let ((it (jest--quote-string-option it "-k"))) (jest--quote-string-option it "-m"))) (let ((it args)) (let ((it (jest--switch-to-option it "--color" "--color=yes" "--color=no"))) (let ((it (jest--quote-string-option it "-k"))) (jest--quote-string-option it "-m")))) jest--transform-arguments(("--expand" "--verbose")) (setq args (jest--transform-arguments args)) (let ((popup-arguments args)) (setq args (jest--transform-arguments args)) (if (and file (file-name-absolute-p file)) (progn (setq file (jest--relative-file-name file)))) (if func (progn (setq func (s-replace "." "::" func$ (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) (quote (:args :file :func :edit :allow-other-keys))) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ... --cl-rest--)))$ (let* ((args (car (cdr (plist-member --cl-rest-- (quote :args))))) (file (car (cdr (plist-member --cl-rest-- (quote :file))))) (func (car (cdr (plist-member --cl-rest-- (quote :func))))) (edit (car (cdr (plist-member --cl-$ jest--run(:args ("--expand" "--verbose") :file "/srv/www/js/pesten/pesten.test.js" :edit nil) jest-file("/srv/www/js/pesten/pesten.test.js" ("--expand" "--verbose")) funcall-interactively(jest-file "/srv/www/js/pesten/pesten.test.js" ("--expand" "--verbose")) call-interactively(jest-file) magit-invoke-popup-action(70) #[257 "\300^A\301"\300^B\302"!\207" [button-get function event] 5 "\n\n(fn BUTTON)"](#) button-activate(# nil) push-button(629) funcall-interactively(push-button 629) call-interactively(push-button nil nil) command-execute(push-button)

--- (end) debug output -----

Thanks, Michael

beeboss avatar Oct 31 '19 11:10 beeboss