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
[!] Error: Could not load /home/projects/rollup-repro-udym2a/node_modules/utils/dist/color.js (imported by src/main.js): ENOENT: no such file or directory, open '/home/projects/rollup-repro-udym2a/node_modules/utils/dist/color.js'
ENOENT: no such file or directory, open '/home/projects/rollup-repro-udym2a/node_modules/utils/dist/color.js'
utils
library in this example is available here, if needed: https://github.com/ChristianM18/build-utilsExpected Behavior
Arrays defined in
package.json
exports
to be taken into account, with the resolution algorithm trying each item until one is successfully resolved.Actual Behavior
The following error is thrown:
Additional Information
I expected the following statement:
to resolve to
./dist/color/index.js
, as theutil
's librarypackage.json
contains:and
./dist/color.js
does not exist.However, it seems that the fact that
./dist/color.js
is missing fires an exception, making the algorithm stop.Apparently a similar (if not same) issue has already been addressed in #670, so maybe it's just a problem on my end.
The text was updated successfully, but these errors were encountered: