https://pulumi.com logo
Title
a

adamant-translator-31969

10/09/2020, 2:08 PM
Hi! I want to follow this guide https://www.pulumi.com/docs/guides/testing/unit/ but when i run
mocha -r ts-node/register ec2tests.ts
with mocha this message appears
ERROR: Error: Cannot find module 'ts-node/register'
Require stack:
l

lemon-agent-27707

10/09/2020, 2:32 PM
do you have
ts-node
in your dependencies in your package.json? You may need to install it globally.
Also, can we try to avoid posting questions in multiple channels? It leads to duplicate answers: https://pulumi-community.slack.com/archives/CRH5ENVDX/p1602251722101300
a

adamant-translator-31969

10/09/2020, 2:38 PM
yes, sorry and thanks