JMStudios.jrichardson
JMStudios.jrichardson

Reputation: 416

Using gulp and typescript with gulp-tsc gulp-typings

I am trying to make a simple nodejs express API with typescript, tsc and gulp. When I compile my .ts files with tsc no errors occur. Now I am trying to integrate gulp into my workflow using gulp-tsc and gulp-typings in gulpfile.js Github Project with gulpfile.js I am not seeing where to connect the two since I am still getting errors from gulp about not finding express or body-parser enter image description here

I have tried to merge them with merge-stream but still the same error.

Upvotes: 0

Views: 356

Answers (1)

JMStudios.jrichardson
JMStudios.jrichardson

Reputation: 416

Needed to install the necessary packages for the .js files to know express and body-parser were installed, that is why tsc compiled but node didn't. I assumed installing for typings was also installing for the .js files as well, but that was not the case.

Upvotes: 0

Related Questions