InversifyJS
InversifyJS copied to clipboard
npm install on a fresh dev machine fails
npm install on a fresh dev machine fails
Expected Behavior
- Clone InversifyJS master repo.
- run npm install
- no errors displayed in console
Current Behavior
at step #3 I get
[15:17:11] Starting 'build-source'... src\interfaces\bindings\provider.d.ts(4,9): error TS2304: Cannot find name 'Prom ise'.
Possible Solution
TypeScript definition, typings package, is missing. .travis.yml file suggest that typings package is required.
solution: add the command to the preinstall section of package.json
Context
Trying to setup th edev. environment for InversifyJS contribution.
Your Environment
- Version used:
- node - v4.4.0, npm - 3.8.1
- Win 8 x64