mirror of
https://github.com/denoland/deno.git
synced 2025-02-23 05:33:33 -05:00

Shows directory import and missing extension suggestions in error messages similar but not exactly to node. Closes #26802 Co-authored-by: Hajime-san <Hajime-san@users.noreply.github.com>
3 lines
225 B
Text
3 lines
225 B
Text
error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///[WILDLINE]/esm' imported from 'file:///[WILDLINE]/npm_specifier.mjs'
|
|
Did you mean to import with the ".mjs" extension?
|
|
at file:///[WILDLINE]/npm_specifier.mjs:1:8
|