mirror of
https://github.com/denoland/deno.git
synced 2025-03-05 10:26:44 -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
239 B
Text
3 lines
239 B
Text
error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///[WILDLINE]/node_modules/package/commonjs' imported from 'file:///[WILDLINE]/commonjs.ts'
|
|
Did you mean to import with the ".cjs" extension?
|
|
at file:///[WILDLINE]/commonjs.ts:1:8
|