Open amitm02 opened 5 years ago
I, too, am running into this issue.
I was able to get around this by manually changing permissions of the nyc
and mocha
binaries from within the extension.
cd ~/.vscode-insiders/extensions/maty.vscode-mocha-sidebar-0.20.22/
chmod +x node_modules/nyc/bin/nyc.js node_modules/nyc/bin/wrap.js node_modules/mocha/bin/mocha
added your workaround to the README I couldn't reproduce it on my pc maybe it related to macOS so if you have more information it could be really helpful
I get premiss denied (i'm on OSX)
coverage running the following command /Users/XXX/.vscode/extensions/maty.vscode-mocha-sidebar-0.20.22/node_modules/nyc/bin/nyc.js --all --reporter=html --reporter=text --reporter=lcov /Users/XXX/.vscode/extensions/maty.vscode-mocha-sidebar-0.20.22/node_modules/mocha/bin/mocha --require ts-node/register */.ts --exit coverage running the following command /Users/XXX/.vscode/extensions/maty.vscode-mocha-sidebar-0.20.22/node_modules/nyc/bin/nyc.js --all --reporter=html --reporter=text --reporter=lcov /Users/XXX/.vscode/extensions/maty.vscode-mocha-sidebar-0.20.22/node_modules/mocha/bin/mocha --require ts-node/register */.ts --exit sh: /Users/XXX/.vscode/extensions/maty.vscode-mocha-sidebar-0.20.22/node_modules/nyc/bin/nyc.js: Permission denied