exercism / typescript-test-runner

GNU Affero General Public License v3.0
1 stars 4 forks source link

Possible Version Mismatch #37

Closed bbarrington42 closed 1 year ago

bbarrington42 commented 2 years ago

Hi, Tests for simple-cipher are passing for me locally, but failing online. The test runner reports a compilation failure. It's failing on my import statement (the first line of my file): import * as crypto from 'crypto'; The error is: simple-cipher.ts(1,25): error TS2307: Cannot find module 'crypto' or its corresponding type declarations. Version info: `node -v v17.1.0

tsc -v Version 4.5.2`

Please let me know if you need any more information.

Thanks, Bill

SleeplessByte commented 2 years ago

Hi there. crypto is currently not included in the "pre-approved" package list in the test runner. What exercise do you need it for? I'm happy to add it and push a new version :)

SleeplessByte commented 1 year ago

Closing because there was no response.