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 build #42

Open
pykbb opened this issue May 11, 2022 · 0 comments
Open

Problem with build #42

pykbb opened this issue May 11, 2022 · 0 comments

Comments

@pykbb
Copy link

pykbb commented May 11, 2022

I have problem:

`npm run build

[email protected] build
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

10% building 1/1 modules 0 active
style.css banner generated.
10% building 1/2 modules 1 active ...es/genesis-starter-theme/node_modules/laravel-mix/src/builder/mock-entry.jsnode: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:133:10)
at module.exports (/home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/webpack/lib/NormalModule.js:503:5
at /home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/webpack/lib/NormalModule.js:358:12
at /home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array. (/home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /home/user09/Local Sites/genesis/app/public/wp-content/themes/genesis-starter-theme/node_modules/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.0.0`

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