vscode-wechat
vscode-wechat copied to clipboard
can't preview
when i try to press ctrl+f8, it alert: node 小程序预览失败,请稍后再试, 错误原因: 'node' is not recognized as an internal or external command, operable program or batch file. i do know why
install node.js restart vscode that reveals another error though "小程序预览失败,请稍后再试, 错误原因: Error: command 'vscode.previewHtml' not found" and the issue remains unresolved. I installed VSCode 1.6.1 and it ran fine.
"vscode.previewHtml" has been deprecated https://github.com/Microsoft/vscode/issues/62630 it's replaced with the Webview API https://code.visualstudio.com/api/extension-guides/webview https://github.com/Microsoft/vscode-extension-samples/blob/master/webview-sample/README.md
i will fork and pull if i find a solution.