vscode-mocha-test-adapter icon indicating copy to clipboard operation
vscode-mocha-test-adapter copied to clipboard

Could not read source map 'bundle.js.map'

Open yohann-kevin opened this issue 1 year ago • 4 comments

Hello I currently have a problem with this vscode extension I can no longer run a test with test-explorer because I have this error that comes back every time. I would like to know if this is a known problem and if there is a solution. I uninstalled and reinstalled the associated exetnsions several times but nothing helped the problem persists.

Thank you for your help.

error => Could not read source map for file:///home/<USER_NAME>/.vscode-server/extensions/hbenl.vscode-mocha-test-adapter-2.14.1/out/worker/bundle.js: ENOENT: no such file or directory, open '/home/<USER_NAME>/.vscode-server/extensions/hbenl.vscode-mocha-test-adapter-2.14.1/out/worker/bundle.js.map'

yohann-kevin avatar Jul 25 '22 15:07 yohann-kevin

Hi, I have the same problem. Have you been able to resolve this?

Env: WIN 11, WSL 2

0xharold avatar Jan 07 '23 08:01 0xharold

Hello, I have not found a solution to this problem. And my env is also windows with WSL.

My solution was to stop using this extension...

instead I just play my tests manually in my javascript debug console on vscode.

to do this I add a .only to my :

it.only('should ...', () => {
	// test...
});

// or on the describe =>

describe.only('Describe Name...', () => {
	it('should ...', () => {
		// test...
	});
	it('should ...', () => {
		// test...
	});
});

yohann-kevin avatar Jan 07 '23 11:01 yohann-kevin

@yohann-kevin thanks for reaching out to me. Yeah, that is exactly what I have already done for some time. @hbenl could help navigate us through this, please?

0xharold avatar Jan 09 '23 05:01 0xharold

Same problem here. No help at all. I am currently looking for other extensions with better support.

migoldfinger avatar Mar 01 '23 22:03 migoldfinger