[ERROR] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './src/utils/providers.orginal.json' is not defined by "exports" in <redacted>/node_modules/oembed-parser/package.json
at new NodeError (node:internal/errors:400:5)
at exportsNotFound (node:internal/modules/esm/resolve:361:10)
at packageExportsResolve (node:internal/modules/esm/resolve:697:9)
at resolveExports (node:internal/modules/cjs/loader:538:36)
at Module._findPath (node:internal/modules/cjs/loader:607:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1025:27)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (<redacted>/node_modules/remark-plugin-oembed/dist/index.js:4:58)
I am seeing the following error:
The following change in v0.1.1 appears to be the cause: https://github.com/jodyheavener/remark-plugin-oembed/commit/f4315adcf3f8746ec5c27a6ed4a08fd84fb81ebc#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L8-R8
Also, it appears that
oembed-parser
is now@extractus/oembed-extractor
. (See https://www.npmjs.com/package/oembed-parser)