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

boilerplates-basic example fails to start #509

Open
ktor opened this issue Nov 4, 2022 · 0 comments
Open

boilerplates-basic example fails to start #509

ktor opened this issue Nov 4, 2022 · 0 comments

Comments

@ktor
Copy link

ktor commented Nov 4, 2022

I have followed instructions from https://react-union.org/boilerplates-basic.

yarn v1.22.18
nodejs v16.17.1

β””πŸš node16➀ yarn && yarn start
yarn install v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "core-js@^3.0.0".
warning "babel-preset-react-union > [email protected]" has unmet peer dependency "webpack@^4.4.0".
warning " > [email protected]" has incorrect peer dependency "eslint@^5.12.1".
warning " > [email protected]" has incorrect peer dependency "react-union@^0.17.0".
warning " > [email protected]" has unmet peer dependency "react-universal-component@^4.0.0".
[4/4] Building fresh packages...
Done in 14.24s.
yarn run v1.22.18
$ react-union-scripts start --app SampleApp
[13:00:17] Starting 'start'...
node:internal/modules/cjs/loader:372
      throw err;
      ^

Error: Cannot find module '/home/ktor/development/projects/github/react-union/node_modules/react-union/lib/react-union.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:364:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:577:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27)
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/ktor/development/projects/github/react-union/packages/react-union-rendering-service/src/renderApplication.js:4:41)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32) {
  code: 'MODULE_NOT_FOUND',
  path: '/home/ktor/development/projects/github/react-union/node_modules/react-union/package.json',
  requestPath: 'react-union'
}
error Command failed with exit code 1.
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