After installing chai typings using the typings tool with the command provided, I am encountering an issue where chai is not being installed on the build server.
typings install chai --save-dev
The devDependencies
section in my typings.json file is as follows:
"devDependencies": {
"chai": "registry:npm/chai#3.5.0+20160415060238"
}
Despite running the command below on the build server, there is no indication that the new typings dependency has been successfully installed.
sudo node ./node_modules/typings install
When attempting to build my project using the tsc TypeScript compiler, I receive the following error message:
error TS2307: Cannot find module 'chai'.
Upon checking the directory typings/main/definitions/
, I cannot locate the expected chai
subdirectory.
Could there be something that I am overlooking? Is this possibly a flaw in non-ambient devDependencies?