mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Switch npm to Yarn (#1522)
* Add testUrl to jest config * Switch npm to Yarn
This commit is contained in:
committed by
Kevin Barabash
parent
702b3c807f
commit
a76c4b9a2f
4
cli.js
4
cli.js
@@ -2,7 +2,7 @@
|
||||
// Simple CLI for KaTeX.
|
||||
// Reads TeX from stdin, outputs HTML to stdout.
|
||||
// To run this from the repository, you must first build KaTeX by running
|
||||
// `npm install` and `npm run build`.
|
||||
// `yarn install` and `yarn run build`.
|
||||
|
||||
/* eslint no-console:0 */
|
||||
|
||||
@@ -12,7 +12,7 @@ try {
|
||||
} catch (e) {
|
||||
console.error(
|
||||
"KaTeX could not import, likely because dist/katex.js is missing.");
|
||||
console.error("Please run 'npm install' and 'npm run build' before running");
|
||||
console.error("Please run 'yarn install' and 'yarn run build' before running");
|
||||
console.error("cli.js from the KaTeX repository.");
|
||||
console.error();
|
||||
throw e;
|
||||
|
Reference in New Issue
Block a user