https://pulumi.com logo
#aws
Title
a

adamant-translator-31969

10/09/2020, 1:55 PM
Hi! I want to test a project with mocha but, i have this error  
ERROR: Error: Cannot find module 'ts-node/register'
Require stack:
this happens when i run the next command
Copy code
mocha -r ts-node/register ec2tests.ts
b

broad-dog-22463

10/09/2020, 2:12 PM
We should add this step
Copy code
npm install ts-node -g
that will ensure ts-node is avalable as part of your tests