Issue
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
Solution
Fixed it. Found that you need to downgrade your ts-node in the meantime. The issue is being tracked here.
Answered By - gdubs
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.