'Jasmine-ts throwing an error about package subpath

I'm starting on a jasmine unit testing path and I'm having issues trying to execute jasmine and finding my ts written specs.

I have jasmine-ts and I just run the usual

jasmine-ts --config=spec/support/jasmine.json

the above line is executed after I run jasmine init on the root folder

EDIT:

Sorry I forgot to put in the error

internal/modules/cjs/loader.js:438
      throw e;
      ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist' is not defined by "exports" i


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source