Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] : #1110

Closed
blueiceprj opened this issue May 19, 2021 · 3 comments
Closed

[Bug] : #1110

blueiceprj opened this issue May 19, 2021 · 3 comments

Comments

@blueiceprj
Copy link

@blueiceprj blueiceprj commented May 19, 2021

I'm unable to build my app due to an error coming from a dependency that relies on Colord. Any help with this would be appreciated!

When running npm run build, I get the following error:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './plugins/names' is not defined by "exports" in ./node_modules/colord/package.json

@bildungsroman
Copy link

@bildungsroman bildungsroman commented May 19, 2021

I'm hitting the same issue.

I have a dependency that relies on postcss-colormin as a dependency, and it's breaking my entire build as of a few hours ago. Any help would be appreciated!

Here is the entire error:

styles.ed559fef764fc0c48382.css from Css Minimizer
--
956 | Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './plugins/names' is not defined by "exports" in /codebuild/output/src413139041/src/node_modules/colord/package.json
957 | at throwExportsNotFound (internal/modules/esm/resolve.js:285:9)
958 | at packageExportsResolve (internal/modules/esm/resolve.js:491:3)
959 | at resolveExports (internal/modules/cjs/loader.js:444:36)
960 | at Function.Module._findPath (internal/modules/cjs/loader.js:484:31)
961 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:818:27)
962 | at Function.Module._load (internal/modules/cjs/loader.js:687:27)
963 | at Module.require (internal/modules/cjs/loader.js:903:19)
964 | at require (internal/modules/cjs/helpers.js:74:18)
965 | at Object.<anonymous> (/codebuild/output/src413139041/src/node_modules/postcss-colormin/dist/colours.js:10:37)
966 | at Module._compile (internal/modules/cjs/loader.js:1015:30)
967 | error Generating JavaScript bundles failed
968 |  
969 | styles.f692443edacb1ff312fd.css from Css Minimizer
970 | Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './plugins/names' is not defined by "exports" in /codebuild/output/src413139041/src/node_modules/colord/package.json
971 | at throwExportsNotFound (internal/modules/esm/resolve.js:285:9)
972 | at packageExportsResolve (internal/modules/esm/resolve.js:491:3)
973 | at resolveExports (internal/modules/cjs/loader.js:444:36)
974 | at Function.Module._findPath (internal/modules/cjs/loader.js:484:31)
975 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:818:27)
976 | at Function.Module._load (internal/modules/cjs/loader.js:687:27)
977 | at Module.require (internal/modules/cjs/loader.js:903:19)
978 | at require (internal/modules/cjs/helpers.js:74:18)
979 | at Object.<anonymous> (/codebuild/output/src413139041/src/node_modules/postcss-colormin/dist/colours.js:10:37)
980 | at Module._compile (internal/modules/cjs/loader.js:1015:30)

@omgovich
Copy link
Contributor

@omgovich omgovich commented May 20, 2021

Exports are fixed in colord@1.7.2.

@alexander-akait
Copy link
Member

@alexander-akait alexander-akait commented May 20, 2021

Please update deps locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants