Friday 19 May 2017

Running nest.js from VS Code

So, I'm playing around with this new framework http://nestjs.com/ who seems pretty awesome since it allows the usage of Typescript on Node, very likely to angular.

Using the starter https://github.com/kamilmysliwiec/nest-typescript-starter, I can run it with npm run start without any problem, but since there is a .vscode on the project, I assumed I could use VS Code to run and gain some debug abilities.

The problem is that when I run directly from VS Code, without changing anything in the code, I get the following problem:

Error: Cannot find module 'nest.js'

I tried to run from VS Code with and without it running from NPM, no success.

Thanks in advance.



via Victor Ivens

No comments:

Post a Comment