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

"ERR _.rtrim is not a function" & failure to hook if Todo Tree is also enabled. #744

Closed
lissaxjae opened this issue Feb 7, 2022 · 2 comments

Comments

@lissaxjae
Copy link

Issue description or question

Whenever Todo Tree is enabled, Quokka produces an error and fails to hook into the code resulting in an endless loading animation on the status bar.

The below error does not happen, and Quokka works fine, if Todo tree is disabled.

log.ts:313   ERR _.rtrim is not a function: TypeError: _.rtrim is not a function
    at k (c:\Users\mel\.vscode\extensions\wallabyjs.quokka-vscode-1.0.442\dist\wallaby\client.js:14:1660)
    at c:\Users\mel\.vscode\extensions\wallabyjs.quokka-vscode-1.0.442\dist\wallaby\client.js:14:1688
    at Server.<anonymous> (c:\Users\mel\.vscode\extensions\wallabyjs.quokka-vscode-1.0.442\dist\wallaby\client.js:15:2812)
    at Object.onceWrapper (events.js:421:28)
    at Server.emit (events.js:315:20)
    at emitCloseNT (net.js:1659:8)
    at processTicksAndRejections (internal/process/task_queues.js:79:21)

Link to Todo Tree: https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree

Code editor version

image

OS name and version

image

@lissaxjae lissaxjae changed the title "ERR _.rtrim is not a function" & failure if Todo Tree is also enabled. "ERR _.rtrim is not a function" & failure to hook if Todo Tree is also enabled. Feb 7, 2022
@smcenlly
Copy link
Member

smcenlly commented Feb 7, 2022

Unfortunately we couldn't reproduce the problem. We did however identify some code that we thought may cause the problem if another extension were to override some global scoped variables.

Could you please try using the latest version of Quokka for VS Code (v1.0.443) and let us know if you still have the problem?

@lissaxjae
Copy link
Author

Whatever you changed seemed to have worked. Thanks for digging into it.

@smcenlly smcenlly closed this as completed Feb 7, 2022
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

2 participants