-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
TypeError: callback is not a function #465
Comments
Looking into this right now, might be able to submit a PR Edit: couldn't figure out how to effectively debug the extension with the instructions given in the README, so I'm not going to be able to solve the issue or PR 😞 |
Hello, thanks for your report! @bestpika |
Hey! @arimgibson |
Thanks @divlo! I'm happy to help if I can get the development figured out 😛 I've followed those instructions and have the repo cloned. However, it appears like VSCode/Node can't attach to the server. I've tried with port 6009 (specified in launch.json) on the command line and get |
I tried to reproduce the issue, indeed, there is an error when triggering auto-fix, nevertheless, it seems to work weirdly. @arimgibson I don't really know what is the issue. git clone git@github.com:standard/vscode-standard.git
cd vscode-standard
npm install
code . Once I'm inside VSCode, I go to the "Run and Debug" tab, and start "Launch Client" task, then another VSCode is opening and I can open any folder, for example, the folder in |
Hmmm... I'll give the VSCODE debugging another go and will see if I can PR this :) |
The function in the waterfall has been modified to an async function. However, the auto fix features still work with the error with or without async in line vscode-standard/server/src/server.ts Line 996 in d8b17ac
async is add-in |
+1 with this issue |
Thank you everyone for your help! |
What version of this package are you using?
What operating system, Node.js, and npm version?
What happened?
When I try to use the auto-fix feature of this extension, I get the following error message.
What did you expect to happen?
Are you willing to submit a pull request to fix this bug?
The text was updated successfully, but these errors were encountered: