You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
open a window, notice errors appear on the console...
ERR File not found (memfs:/package.json): Error: File not found (memfs:/package.json)
at new FileOperationError (file:///Users/jrieken/Code/vscode/out/vs/platform/files/common/files.js:199:32)
at file:///Users/jrieken/Code/vscode/out/vs/workbench/services/files/electron-browser/remoteFileService.js:279:31
at Object.notifySuccess [as _notify] (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1185:59)
at Object.enter (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:867:30)
at Promise_ctor._run (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1083:29)
at Promise_ctor._completed (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1051:18)
at argDone (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1828:37)
at Promise.then.errors.(anonymous function) (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1853:78)
at Object.notifySuccess [as _notify] (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1185:59)
at Object.enter (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:916:30)
at Promise_ctor._run (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1083:29)
at Promise_ctor._error (file:///Users/jrieken/Code/vscode/out/vs/base/common/winjs.base.js:1056:18)
at LazyPromise.resolveErr (file:///Users/jrieken/Code/vscode/out/vs/workbench/services/extensions/node/lazyPromise.js:53:22)
at RPCProtocol._receiveReplyErr (file:///Users/jrieken/Code/vscode/out/vs/workbench/services/extensions/node/rpcProtocol.js:196:26)
at RPCProtocol._receiveOneMessage (file:///Users/jrieken/Code/vscode/out/vs/workbench/services/extensions/node/rpcProtocol.js:147:26)
The text was updated successfully, but these errors were encountered:
Still happens, e.g. with files missing from disk. Also the fix doesn't seems correct because workspace folders are expected to live on remote places and simply ignoring those misses the point of workspace stats.
I cant repro this with the current fix in place. We only look for contents of the package.json file if it was found when doing a resolveFiles on the workspace.
Also the fix doesn't seems correct because workspace folders are expected to live on remote places and simply ignoring those misses the point of workspace stats
Agreed, I have reverted the previous fix.
Current fix is to ignore the errors coming from resolveContent when fetching the file contents on the package.json file. This is consistent with the other 2 cases in the same file where we attempt to fetch file contents.
The text was updated successfully, but these errors were encountered: