ip-address icon indicating copy to clipboard operation
ip-address copied to clipboard

Package subpath './dist/cjs/lib/ipv4' is not defined by "exports"

Open zotakk4o opened this issue 3 years ago • 1 comments

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 avatar Sep 29 '21 11:09 zotakk4o

If "exports" section from package.json is removed, the problem is gone.

zotakk4o avatar Sep 29 '21 11:09 zotakk4o

should be solved now with the simplification in 9.0.5

beaugunderson avatar Sep 25 '23 18:09 beaugunderson