karma-typescript-preprocessor
karma-typescript-preprocessor copied to clipboard
Can not load "typescript", it is not registered!
The instruction in the readme only mentions to:
- Install by running
npm install karma-typescript-preprocessor --save-dev - Update the preprocessors as follows:
preprocessors: { '**/*.ts': ['typescript']} - 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?
An instruction step was missing in the README. Added it here https://github.com/sergeyt/karma-typescript-preprocessor/pull/73