hubotio / hubot

A customizable life embetterment robot.
https://hubotio.github.io/hubot/
MIT License
16.64k stars 3.75k forks source link

fix: ERR_UNSUPPORTED_ESM_URL_SCHEME on Windows #1660

Closed joeyguerra closed 1 year ago

joeyguerra commented 1 year ago

Got the following error message in a unit test on Windows:

Cannot load adapter [no path set] D:\a\hubot\hubot\test\fixtures\MockAdapter.mjs - Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'"

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 8.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: