karma-typescript-preprocessor icon indicating copy to clipboard operation
karma-typescript-preprocessor copied to clipboard

Can not load "typescript", it is not registered!

Open dadepo opened this issue 7 years ago • 1 comments

The instruction in the readme only mentions to:

  1. Install by running npm install karma-typescript-preprocessor --save-dev
  2. Update the preprocessors as follows: preprocessors: { '**/*.ts': ['typescript']}
  3. Configure typescriptPreprocessor

I did all these three but when I run the test I get an error saying:

:ERROR [preprocess]: Can not load "typescript", it is not registered!
  Perhaps you are missing some plugin?

Is there an instruction step that is missing?

dadepo avatar Nov 19 '18 12:11 dadepo

An instruction step was missing in the README. Added it here https://github.com/sergeyt/karma-typescript-preprocessor/pull/73

dadepo avatar Nov 19 '18 12:11 dadepo