Friendly error message when importing node built-in modules without a node:
prefix
#17493
Labels
suggestion
suggestions for new features (yet to be agreed)
This depends on support for
node:
modules in #16223When built-in Node.js modules are imported without
node:
prefix a friendly error message is shown:This is only relevant to the user code - dependencies imported with
npm:
specifiers will have these modules available in both forms.The text was updated successfully, but these errors were encountered: