Package subpath './dist/cjs/lib/ipv4' is not defined by "exports"
zotakk4o opened this issue · 2 comments
zotakk4o commented
Can someone please explain why the following error occurs in 8.1.0 with Node v12.22.5? With version 12.9.0 it does not appear.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/cjs/lib/ipv4' is not defined by "exports" in path-to-my-ip-address-location\ip-address\v8\node_modules\ip-address\package.json imported from path-to-my-ip-address-location\ip-address\dist\cjs\ip-address.js
zotakk4o commented
If "exports" section from package.json is removed, the problem is gone.
beaugunderson commented
should be solved now with the simplification in 9.0.5