4 ms·
> For npm modules that implement a path e.g. `@lib/method`, the import of this currently isn't allowed in node without a flag. FWIW, (and im sure you know this
by madeofpalk 6y ago
> For npm modules that implement a path e.g. `@lib/method`, the import of this currently isn't allowed in node without a flag.
FWIW, (and im sure you know this, just pointing it out for others) @lib/method is not a path - the @ at the beginning indicates the package is namespaced under an org. @lib/method is a full and proper regular package, whereas `lib/method` would be pointing to a path within the lib package.