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

problem with next build command #3

Open
WatheqAlshowaiter opened this issue Apr 6, 2022 · 0 comments
Open

problem with next build command #3

WatheqAlshowaiter opened this issue Apr 6, 2022 · 0 comments

Comments

@WatheqAlshowaiter
Copy link

I can start the project with the development mode "next" but when I write next build I face problems:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './src/forEach' is not defined by "exports" in /src/to/my/project/product-language-framework/node_modules/ramda/package.json
  at new NodeError (node:internal/errors:372:5)
    at throwExportsNotFound (node:internal/modules/esm/resolve:439:9)
    at packageExportsResolve (node:internal/modules/esm/resolve:718:3)
    at resolveExports (node:internal/modules/cjs/loader:482:36)
    at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/watheq/Sites/htdocs/product-language-framework/node_modules/html-to-react/lib/parser.js:2:17) {
  type: 'Error',
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I want to build this project for the production..

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

No branches or pull requests

1 participant