Closed themoonbear closed 4 years ago
It does not occur in my environment.
Has a folder named .VSCodeCounter
been created?
NO. The tip is "Running the contributed command: 'extension.vscode-counter.countInWorkspace' failed."
Is it similar to this phenomenon?
Does it work if the value of VSCodeCounter.outputPreviewType
is 'none'
?
Does it work if the value of VSCodeCounter.outputAsMarkdown
is false
?
I changed the config, but it doesn't work!
"VSCodeCounter.outputAsMarkdown": false, "VSCodeCounter.outputPreviewType": "none"
Oh. Then, can you open the Developer Tool and continue?
Help > Toggle Developer Tools
and select Console
tab.
You may get a detailed error message.
Well, I did the step. This is error message. Does counter need network when it running?
notificationsAlerts.ts:38 Error: Running the contributed command: 'extension.vscode-counter.countInWorkspace' failed. at v._executeContributedCommand (/Applications/Visual…nHostProcess.js:518) at v.$executeContributedCommand (/Applications/Visual…nHostProcess.js:519) at p._doInvokeHandler (/Applications/Visual…nHostProcess.js:635) at p._invokeHandler (/Applications/Visual…nHostProcess.js:634) at p._receiveRequest (/Applications/Visual…nHostProcess.js:633) at p._receiveOneMessage (/Applications/Visual…nHostProcess.js:632) at _protocol.onMessage.e (/Applications/Visual…nHostProcess.js:630) at l.fire (/Applications/Visual…onHostProcess.js:50) at _.fire (/Applications/Visual…nHostProcess.js:181) at e.onMessage.e (/Applications/Visual…nHostProcess.js:787) at l.fire (/Applications/Visual…onHostProcess.js:50) at _.fire (/Applications/Visual…nHostProcess.js:181) at t.PersistentProtocol._receiveMessage (/Applications/Visual…nHostProcess.js:185) at _socketDisposables.push._socketReader.onMessage.e (/Applications/Visual…nHostProcess.js:182) at l.fire (/Applications/Visual…onHostProcess.js:50) at p.acceptChunk (/Applications/Visual…nHostProcess.js:178) at _register._socket.onData.e (/Applications/Visual…nHostProcess.js:177) at Socket.t (/Applications/Visual…nHostProcess.js:187) at Socket.emit (events.js:182) at addChunk (_stream_readable.js:283) at readableAddChunk (_stream_readable.js:264) at Socket.Readable.push (_stream_readable.js:219) at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94)
No, I don't use the network.
Pipe
is considered for local interprocess communication.
failed. at v._executeContributedCommand (/Applications/Visual…nHostProcess.js:518)
It seems that the error is not inside vscode-counter. Looks like it failed before calling vscode-counter.
The only way to come up with is to remove VSCodeCounter and install it again.
Thank you for your response. It doesn't work. Maybe I should re-install vscode.
Some bugs have been fixed since then. Please let me know if there is any change.
vscode version: 1.39.2 installed the latest vscode-counter, I want to counter typescript language, but nothing happen!