Miss react-is dependency
DzianisH opened this issue · 0 comments
DzianisH commented
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Cloud project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
UI selfservice can't startup. The error is below.
It easily fixed by adding npm install react-is
dependency.
Reproducing the bug
- clone project
- npm install
- npm start
Relevant log output
Error: Cannot find module 'react-is'
Require stack:
- /Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/styled-components/dist/styled-components.cjs.js
- /Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/@ory/themes/lib/index.js
- /Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/@ory/themes/css/express.js
- /Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/src/routes/static.ts
- /Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/src/routes/index.ts
- /Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/src/index.ts
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/@cspotcode/source-map-support/source-map-support.js:679:30)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/styled-components/dist/styled-components.cjs.js:1:145)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/styled-components/dist/styled-components.cjs.js',
'/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/@ory/themes/lib/index.js',
'/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/node_modules/@ory/themes/css/express.js',
'/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/src/routes/static.ts',
'/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/src/routes/index.ts',
'/Users/user/Projects/Pet/kartka/poc-with-ory-v1/kratos-selfservice-ui-node/src/index.ts'
]
}
Relevant configuration
No response
Version
current master brunch
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response