question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Lint all files in this vault

See original GitHub issue

Linter: Lint all fiels in the vault seems break recently. The Console shows theerror message from (alt+cmd+i) below:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'app')
    at eval (eval at <anonymous> (app.js:1:1), <anonymous>:28551:36)
    at Generator.next (<anonymous>)
    at eval (eval at <anonymous> (app.js:1:1), <anonymous>:31:71)
    at new Promise (<anonymous>)
    at __awaiter (eval at <anonymous> (app.js:1:1), <anonymous>:27:12)
    at runLinterAllFiles (eval at <anonymous> (app.js:1:1), <anonymous>:28550:16)
    at LintConfirmationModal.eval (eval at <anonymous> (app.js:1:1), <anonymous>:28772:23)
    at Generator.next (<anonymous>)
    at eval (eval at <anonymous> (app.js:1:1), <anonymous>:31:71)
    at new Promise (<anonymous>)

At first, I though it might be related to some notes non-standard content, so I created a new vault with only one simple note. However, the command still broke in the new vault…

I am not sure if it is a bug or am I misunderstand some settings?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
pjkaufmancommented, May 21, 2022

If you would like, you can go ahead and install the plugin from github and see if it fixes your issue.

1reaction
pjkaufmancommented, May 21, 2022

I can get the logic to work if I go ahead and run the lint command from outside of the modal, so I wonder if something about the context and the this value got changed. I will swap how things are working and see what happens.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lint vault files · Issue #115 · ansible/ansible-lint - GitHub
I'd like to lint whole Ansible playbooks including vault files. An idea would be to provide ansible-lint the vault-pass parameter.
Read more >
Avoid errors in your Ansible playbooks with ansible-lint
yaml in the directory structure ~/Ansible/playbooks , run the ansible-lint command: $ cd ~/Ansible $ ansible-lint ERROR! conflicting action statements: ansible ...
Read more >
McAfee Vault won't lock
Solved: I purchased McAfee total protection about 2 months ago and the version of McAfee file lock I got with it is: 3.8....
Read more >
Ansible "ERROR! Attempting to decrypt but no vault secrets ...
Ok, the issue is the vaults in my inventory. Ansible accesses the vaults even though I did not directly request those vaults.
Read more >
helmfile
helmfile -f path/to/directory loads and runs all the yaml files under the specified directory, each file as an independent helmfile.yaml. The default helmfile ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found