You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module resolution is failing in a Node project I'm trying to use this in, because the package (as installed by NPM) contains "dist/depres.js", but the "main" is set to "src/depres.js" instead.
Modifying this fixes the the problem and the following works:
var depres = require('depres');
Note: I am transpiling from TypeScript, but I'm pretty sure the mismatch above isn't correct for the distributed package in any case.
The text was updated successfully, but these errors were encountered:
Module resolution is failing in a Node project I'm trying to use this in, because the package (as installed by NPM) contains "dist/depres.js", but the "main" is set to "src/depres.js" instead.
Modifying this fixes the the problem and the following works:
Note: I am transpiling from TypeScript, but I'm pretty sure the mismatch above isn't correct for the distributed package in any case.
The text was updated successfully, but these errors were encountered: