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

Can not run build. #37

Open
zydjohnHotmail opened this issue Apr 30, 2023 · 0 comments
Open

Can not run build. #37

zydjohnHotmail opened this issue Apr 30, 2023 · 0 comments

Comments

@zydjohnHotmail
Copy link

Hi,
I tried to install the repo, but I got some errors:
D:\Extension\v-browser-ext-wallet>npm run build

[email protected] build
webpack --progress

10% building 0/0 modules 0 activeError: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:503:5
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:358:12
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (D:\Extension\v-browser-ext-wallet\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\Extension\v-browser-ext-wallet\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at D:\Extension\v-browser-ext-wallet\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:503:5
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:358:12
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (D:\Extension\v-browser-ext-wallet\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\Extension\v-browser-ext-wallet\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at D:\Extension\v-browser-ext-wallet\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:503:5
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:358:12
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (D:\Extension\v-browser-ext-wallet\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\Extension\v-browser-ext-wallet\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at D:\Extension\v-browser-ext-wallet\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
10% building 0/6 modules 6 active ...s\babel-loader\lib\index.js!D:\Extension\v-browser-ext-wallet\src\inpage\inpage.jsnode:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:503:5
at D:\Extension\v-browser-ext-wallet\node_modules\webpack\lib\NormalModule.js:358:12
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at context.callback (D:\Extension\v-browser-ext-wallet\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at D:\Extension\v-browser-ext-wallet\node_modules\babel-loader\lib\index.js:44:71 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.14.2

D:\Extension\v-browser-ext-wallet>
I am using Windows 10 (version 22H2), please advise on how to fix the issue.

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