Categories
JavaScript Answers

How to fix “Cannot find module ‘ts-node/register'” error with JavaScript?

Spread the love

To fix "Cannot find module ‘ts-node/register’" error with JavaScript, we install the ts-node package.

To install it, we run

npm install ts-node --save-dev

to save the ts-node package as a dev dependency.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *