openshift / hac-dev Goto Github PK
View Code? Open in Web Editor NEWDeveloper Experience for Hybrid Application Console
License: Apache License 2.0
Developer Experience for Hybrid Application Console
License: Apache License 2.0
I'm following the Getting Started docs.
Application crashes upon startup.
Application runs successfully.
npm install
npm run start:prod:beta
๐ node --version
v16.14.0
๐ npm run start:prod:beta
> [email protected] start:prod:beta
> ENVIRONMENT=prod npm run start:beta
> [email protected] start:beta
> BETA=true npm start
> [email protected] start
> webpack serve --config config/dev.webpack.config.js
~~~Using variables~~~
Root folder: /home/lucarval/src/openshift/hac-dev
Current branch: main
Beta branches: master,qa-beta,ci-beta,prod-beta,main,devel,stage-beta
Using deployments: beta/api/plugins
Public path: /beta/api/plugins/hac-dev/
App entry: /home/lucarval/src/openshift/hac-dev/src/entry.ts
Use proxy: true
~~~~~~~~~~~~~~~~~~~~~
Making proxy from SPANDX routes
(node:110203) [DEP_WEBPACK_DEV_SERVER_HTTPS] DeprecationWarning: 'https' option is deprecated. Please use the 'server' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
<i> [webpack-dev-server] SSL certificate: /home/lucarval/src/openshift/hac-dev/node_modules/.cache/webpack-dev-server/server.pem
checking out dev-beta branch of https://github.com/redhatinsights/insights-chrome-build
Reset branch 'dev-beta'
<i> [webpack-dev-server] [HPM] Proxy created: (path) => path.includes('/api/k8s/registration') -> https://registration-service-toolchain-host-operator.apps.appstudio-stage.x99m.p1.openshiftapps.com
<i> [webpack-dev-server] [HPM] Proxy rewrite rule created: "^/api/k8s/registration" ~> ""
<i> [webpack-dev-server] [HPM] Proxy created: (path) => path.includes('/api/k8s') -> https://api-toolchain-host-operator.apps.appstudio-stage.x99m.p1.openshiftapps.com:443
<i> [webpack-dev-server] [HPM] Proxy rewrite rule created: "^/api/k8s" ~> ""
<i> [webpack-dev-server] [HPM] Proxy created: (path) => path.includes('/wss/k8s') -> wss://api-toolchain-host-operator.apps.appstudio-stage.x99m.p1.openshiftapps.com:443
<i> [webpack-dev-server] [HPM] Proxy rewrite rule created: "^/wss/k8s" ~> ""
<i> [webpack-dev-server] [HPM] Proxy created: (url) => {
<i> const shouldProxy = !appUrl.find((u) => (typeof u === 'string' ? url.startsWith(u) : u.test(url)));
<i> if (shouldProxy) {
<i> if (proxyVerbose) {
<i> console.log('proxy', url);
<i> }
<i>
<i> return true;
<i> }
<i>
<i> return false;
<i> } -> https://console.redhat.com/
(node:110203) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
node:internal/crypto/hash:67
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at BulkUpdateDecorator.hashFactory (/home/lucarval/src/openshift/hac-dev/node_modules/webpack/lib/util/createHash.js:155:18)
at BulkUpdateDecorator.digest (/home/lucarval/src/openshift/hac-dev/node_modules/webpack/lib/util/createHash.js:80:21)
at /home/lucarval/src/openshift/hac-dev/node_modules/webpack/lib/DefinePlugin.js:595:38
at Hook.eval [as call] (eval at create (/home/lucarval/src/openshift/hac-dev/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:104:1)
at Hook.CALL_DELEGATE [as _call] (/home/lucarval/src/openshift/hac-dev/node_modules/tapable/lib/Hook.js:14:14)
at Compiler.newCompilation (/home/lucarval/src/openshift/hac-dev/node_modules/webpack/lib/Compiler.js:1053:26)
at /home/lucarval/src/openshift/hac-dev/node_modules/webpack/lib/Compiler.js:1097:29
at Hook.eval [as callAsync] (eval at create (/home/lucarval/src/openshift/hac-dev/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
The command "npm install" fails using node v18.4.0 as some modules are not declared
npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @openshift/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-router
npm ERR! react-router@"6.3.0" from [email protected]
npm ERR! node_modules/react-router-dom
npm ERR! react-router-dom@"6.3.0" from the root project
npm ERR! peer react-router-dom@"^6.3.0" from @openshift/[email protected]
npm ERR! node_modules/@openshift/dynamic-plugin-sdk-utils
npm ERR! @openshift/dynamic-plugin-sdk-utils@"^1.1.1" from the root project
npm ERR! 2 more (@redhat-cloud-services/frontend-components, @redhat-cloud-services/frontend-components-utilities)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional react-router@"^5.2.1" from @openshift/[email protected]
npm ERR! node_modules/@openshift/dynamic-plugin-sdk-extensions
npm ERR! @openshift/dynamic-plugin-sdk-extensions@"^1.1.0" from the root project
npm ERR! peer @openshift/dynamic-plugin-sdk-extensions@"^1.1.0" from @openshift/[email protected]
npm ERR! node_modules/@openshift/dynamic-plugin-sdk-utils
npm ERR! @openshift/dynamic-plugin-sdk-utils@"^1.1.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react-router
npm ERR! peerOptional react-router@"^5.2.1" from @openshift/[email protected]
npm ERR! node_modules/@openshift/dynamic-plugin-sdk-extensions
npm ERR! @openshift/dynamic-plugin-sdk-extensions@"^1.1.0" from the root project
npm ERR! peer @openshift/dynamic-plugin-sdk-extensions@"^1.1.0" from @openshift/[email protected]
npm ERR! node_modules/@openshift/dynamic-plugin-sdk-utils
npm ERR! @openshift/dynamic-plugin-sdk-utils@"^1.1.1" from the root project
npm ERR!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.