Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jakefile requires globally installed mocha #24998

Closed
ghost opened this issue Jun 15, 2018 · 1 comment
Closed

Jakefile requires globally installed mocha #24998

ghost opened this issue Jun 15, 2018 · 1 comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Infrastructure Issue relates to TypeScript team infrastructure

Comments

@ghost
Copy link

ghost commented Jun 15, 2018

TypeScript Version: master

Code

jake runtests

Expected behavior:

No error.

Actual behavior:

node lib/tsc.js -b scripts
node scripts/processDiagnosticMessages.js src/compiler/diagnosticMessages.json
Reading diagnostics from src/compiler/diagnosticMessages.json
node lib/tsc.js -b src
node built/local/tsc.js -b built/local/typescriptServices.tsconfig.json
node lib/tsc.js -b src/testRunner
mocha -R mocha-fivemat-progress-reporter -g "API" --colors -t 40000 built/local/run.js
/bin/sh: 1: mocha: not found
jake aborted.
Error: Process exited with code 127
    at api.fail (/home/andy/.nvm/versions/node/v10.1.0/lib/node_modules/jake/lib/api.js:336:18)
    at finish (/home/andy/TypeScript_2/Jakefile.js:476:13)
(See full trace by running task with --trace)

Could reference the one in node_modules instead. @RyanCavanaugh This is probably due to a recent change.

@ghost ghost added Bug A bug in TypeScript Infrastructure Issue relates to TypeScript team infrastructure labels Jun 15, 2018
@weswigham
Copy link
Member

@andy-ms should be fixed by #25008

@ghost ghost closed this as completed Jun 15, 2018
@ghost ghost added the Fixed A PR has been merged for this issue label Jun 15, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Infrastructure Issue relates to TypeScript team infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant