Categories
JavaScript Answers

How to fix the “Cannot find module ‘ts-node/register'” error with Node.js?

Spread the love

Sometimes, we want to fix the "Cannot find module ‘ts-node/register’" error with Node.js.

In this article, we’ll look at how to fix the "Cannot find module ‘ts-node/register’" error with Node.js.

How to fix the "Cannot find module ‘ts-node/register’" error with Node.js?

To fix the "Cannot find module ‘ts-node/register’" error with Node.js, we can install ts-node with npm install.

To install it, we run

npm install ts-node --save-dev

Conclusion

To fix the "Cannot find module ‘ts-node/register’" error with Node.js, we can install ts-node with npm install.

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 *