ip-address
ip-address copied to clipboard
Package subpath './dist/cjs/lib/ipv4' is not defined by "exports"
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
If "exports" section from package.json is removed, the problem is gone.
should be solved now with the simplification in 9.0.5