Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help: cannot set custom yaml settings #1657

Open
qdm12 opened this issue Jun 29, 2020 · 0 comments
Open

Help: cannot set custom yaml settings #1657

qdm12 opened this issue Jun 29, 2020 · 0 comments

Comments

@qdm12
Copy link

qdm12 commented Jun 29, 2020

Hi there,

First of all, thanks for the nice program.

I made a Docker container version of it and a user reported a problem setting yaml settings on it.

Checking the browser console I have the following errors:

  • When opening the settings dialog:
vue.runtime.esm.js:587 [Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'rest' of undefined"

found in

---> <CodeEditor> at CodeEditor.vue
       <ModalInner> at ModalInner.vue
         <SettingsModal> at SettingsModal.vue
           <Modal> at Modal.vue
             <App> at App.vue
               <Root>
si @ vue.runtime.esm.js:8
ft @ vuex.esm.js:6
ht @ vuex.esm.js:6
lt @ vuex.esm.js:6
Wt @ vuex.esm.js:6
insert @ vue.runtime.esm.js:8
T @ vue.runtime.esm.js:8
(anonymous) @ vue.runtime.esm.js:8
(anonymous) @ vue.runtime.esm.js:8
(anonymous) @ vuex.esm.js:6
(anonymous) @ vue.runtime.esm.js:8
(anonymous) @ vue.runtime.esm.js:8
$t @ vuex.esm.js:6
(anonymous) @ vuex.esm.js:6
dt @ vuex.esm.js:6
vue.runtime.esm.js:1737 TypeError: Cannot read property 'rest' of undefined
    at Object.tokenize (prism.js:404)
    at Object.highlight (prism.js:265)
    at Object.sectionHighlighter (CodeEditor.vue:22)
    at b (cleditHighlighter.js:137)
    at cleditHighlighter.js:148
    at Array.<anonymous> (clunderscore.js:11)
    at a.parseSections (cleditHighlighter.js:146)
    at Object.init (cleditCore.js:428)
    at s.mounted (CodeEditor.vue:20)
    at Wt (vue.runtime.esm.js:2917)
  • When I type something in the custom settings text box
Uncaught TypeError: Cannot read property 'rest' of undefined
    at Object.tokenize (prism.js:404)
    at Object.highlight (prism.js:265)
    at Object.sectionHighlighter (CodeEditor.vue:22)
    at b (cleditHighlighter.js:137)
    at cleditHighlighter.js:148
    at Array.<anonymous> (clunderscore.js:11)
    at a.parseSections (cleditHighlighter.js:146)
    at MutationObserver.h (cleditCore.js:183)

Would you have any idea what I'm doing wrong? Is this a server side issue?

Thanks for you help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant