gpt4 book ai didi

visual-studio-code - 漂亮的vscode "r is not a function"

转载 作者:行者123 更新时间:2023-12-04 03:47:46 26 4
gpt4 key购买 nike

在vscode中使用更漂亮的代码已有一段时间了,但是最近它停止工作了,我不确定这是他们的错误还是我的配置错误。

["INFO" - 02:54:03] Loaded module 'prettier@1.19.1' from '/Users/paulrberg/.nvm/versions/node/v10.17.0/lib/node_modules/prettier'
["INFO" - 02:54:03] Formatting using 'prettier-eslint'
["ERROR" - 02:54:03] Error formatting document.
r is not a function
TypeError: r is not a function
at /Users/paulrberg/.vscode/extensions/esbenp.prettier-vscode-3.13.0/dist/extension.js:1:352891
at t.default.safeExecution (/Users/paulrberg/.vscode/extensions/esbenp.prettier-vscode-3.13.0/dist/extension.js:1:353582)
at t.default.<anonymous> (/Users/paulrberg/.vscode/extensions/esbenp.prettier-vscode-3.13.0/dist/extension.js:1:352865)
at Generator.next (<anonymous>)
at s (/Users/paulrberg/.vscode/extensions/esbenp.prettier-vscode-3.13.0/dist/extension.js:1:347571)

最佳答案

3.13.0版中存在一个错误。升级到最新版本,问题将消失。

关于visual-studio-code - 漂亮的vscode "r is not a function",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59340415/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com