piral-samples / piral-microfrontend-demo Goto Github PK
View Code? Open in Web Editor NEWA demo for microfrontend webshop product page using Piral. :rocket:
Home Page: https://docs.piral.io
License: MIT License
A demo for microfrontend webshop product page using Piral. :rocket:
Home Page: https://docs.piral.io
License: MIT License
Hello, I am hitting an UnhandledPromiseRejectionWarning with run.
Error: ENOENT: no such file or directory, lstat '/home/jdevoo/playground/piral-microfrontend-demo/team-blue/node_modules/react-dom/unstable-fizz.browser.js'
Here's what I see when I grep react-dom in package-lock.json
"@types/react-dom": {
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.9.tgz",
"react-dom": {
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.1.tgz",
The 16.9.9 has no unstable-fizz.browser.js in the directory as indicated by the warning.
Any ideas how I can get past this?
Triyng to follow the instructions in readme launching "./install.sh" file I always receive errors.
Trying to generate evgery application, for the app-shell, the command "npm run build" gives the error "Error: error:0308010C:digital envelope routines::unsupported"
What can I do?
Session transcript:
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo$ cd app-shell/
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$ npm i
up to date, audited 870 packages in 1s
77 packages are looking for funding
run `npm fund` for details
7 high severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues, run:
npm audit fix --force
Run `npm audit` for details.
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$ npm run build
> [email protected] build
> piral build
Bundle emulator ...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:135:10)
at module.exports (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:503:5
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:358:12
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:186:6
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:135:10)
at module.exports (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:503:5
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:358:12
at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:221:10) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v17.9.0
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$
When I try to follow the tutorial steps (from README) I faced the error:
Error: loading
Same occurs with online demo
When using lazy loading components with piral-cli-webpack
, something went wrong during runtime.
upgrade the latest version and use [email protected]
Lazy loading code:
And the diff.
upgrade [email protected] and use [email protected]
Something went wrong during runtime,This is my upgraded package.json.
Did I miss the other configuration?
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.