Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNigel Reece
509 PointsI'm not able to get ts-node to work.
I installed TS Node but I can't get it to work. It throws a 'module not found' error.
I removed the line in the tsconfig.json re: isolatedModules and both that and my package.json files are in the project-files folder but things still seem to be broken.
I did note that the tsconfig file had a slightly different set up to the one shown in previous videos because of some deprecated syntax. Is this possibly the reason? Is there something else that needs to be done?
I also tried installing TSX and using that but I get the same error.
1 Answer
Rohald van Merode
Treehouse StaffHey Nigel Reece 👋
An error saying "module not found" means that the package is not available. You'll want to make sure that it has been installed correctly, either globally or in your project directory, in order to use it. The differences in the tsconfig should not affect this 🙂