-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code
Description
I wanted to run the cms locally, but I couldn't, and after running the following commands:
git clone https://github.com/decaporg/decap-cms
cd decap-cms
yarn
yarn bootstrap
it gives the following error:
netlify-cms: ℹ 「wds」: Project is running at http://0.0.0.0:8080/
netlify-cms: ℹ 「wds」: webpack output is served from /dist/
netlify-cms: ℹ 「wds」: Content not from webpack is served from ../../dev-test
netlify-cms-backend-azure: Successfully compiled 4 files with Babel (14917ms).
netlify-cms-ui-default: Successfully compiled 15 files with Babel (14783ms).
netlify-cms-widget-select: Successfully compiled 4 files with Babel (14188ms).
netlify-cms-widget-datetime: Successfully compiled 4 files with Babel (14689ms).
netlify-cms-widget-number: Successfully compiled 4 files with Babel (14654ms).netlify-cms: ℹ 「wds」: Project is running at http://0.0.0.0:8080/
netlify-cms: ℹ 「wds」: webpack output is served from /dist/
netlify-cms: ℹ 「wds」: Content not from webpack is served from ../../dev-test
netlify-cms-backend-azure: Successfully compiled 4 files with Babel (14917ms).
netlify-cms-ui-default: Successfully compiled 15 files with Babel (14783ms).
netlify-cms-widget-select: Successfully compiled 4 files with Babel (14188ms).
netlify-cms-widget-datetime: Successfully compiled 4 files with Babel (14689ms).
netlify-cms-widget-number: Successfully compiled 4 files with Babel (14654ms).
netlify-cms: node:internal/crypto/hash:71
netlify-cms: this[kHandle] = new _Hash(algorithm, xofLen);
netlify-cms: ^
netlify-cms: Error: error:0308010C:digital envelope routines::unsupported
netlify-cms: at new Hash (node:internal/crypto/hash:71:19)
netlify-cms: at Object.createHash (node:crypto:140:10)
netlify-cms: at module.exports (/home/azimi-ali/decap-cms/node_modules/webpack/lib/util/createHash.js:135:53)
netlify-cms: at NormalModule._initBuildHash (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:417:16)
netlify-cms: at handleParseError (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:471:10)
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:503:5
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:358:12
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:373:3
netlify-cms: at iterateNormalLoaders (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
netlify-cms: at Array.<anonymous> (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
netlify-cms: at Storage.finished (/home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/graceful-fs/graceful-fs.js:123:16
netlify-cms: at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
netlify-cms: opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
netlify-cms: library: 'digital envelope routines',
netlify-cms: reason: 'unsupported',
netlify-cms: code: 'ERR_OSSL_EVP_UNSUPPORTED'
netlify-cms: }
netlify-cms: Node.js v19.8.1
netlify-cms-widget-code: Successfully compiled 7 files with Babel (14850ms).
netlify-cms-widget-markdown: Successfully compiled 43 files with Babel (14896ms).
netlify-cms-backend-proxy: Browserslist: caniuse-lite is outdated. Please run:
netlify-cms-backend-proxy: npx browserslist@latest --update-db
netlify-cms-backend-proxy: Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
netlify-cms: error Command failed with exit code 1.
netlify-cms: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
netlify-cms-backend-github: Successfully compiled 10 files with Babel (16137ms).
lerna ERR! yarn run develop exited 1 in 'netlify-cms'
lerna ERR! yarn run develop stdout:
$ webpack serve --hot
Building [netlify-cms, library: NetlifyCms]
2.10.192-dev
ℹ 「wds」: Project is running at http://0.0.0.0:8080/
ℹ 「wds」: webpack output is served from /dist/
ℹ 「wds」: Content not from webpack is served from ../../dev-test
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run develop stderr:
node: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:140:10)
at module.exports (/home/azimi-ali/decap-cms/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:503:5
at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:358:12
at /home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array.<anonymous> (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /home/azimi-ali/decap-cms/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 v19.8.1
error Command failed with exit code 1.
lerna ERR! yarn run develop exited 1 in 'netlify-cms'
lerna WARN complete Waiting for 34 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "develop" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
netlify-cms: node:internal/crypto/hash:71
netlify-cms: this[kHandle] = new _Hash(algorithm, xofLen);
netlify-cms: ^
netlify-cms: Error: error:0308010C:digital envelope routines::unsupported
netlify-cms: at new Hash (node:internal/crypto/hash:71:19)
netlify-cms: at Object.createHash (node:crypto:140:10)
netlify-cms: at module.exports (/home/azimi-ali/decap-cms/node_modules/webpack/lib/util/createHash.js:135:53)
netlify-cms: at NormalModule._initBuildHash (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:417:16)
netlify-cms: at handleParseError (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:471:10)
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:503:5
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:358:12
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:373:3
netlify-cms: at iterateNormalLoaders (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
netlify-cms: at Array.<anonymous> (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
netlify-cms: at Storage.finished (/home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
netlify-cms: at /home/azimi-ali/decap-cms/node_modules/graceful-fs/graceful-fs.js:123:16
netlify-cms: at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
netlify-cms: opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
netlify-cms: library: 'digital envelope routines',
netlify-cms: reason: 'unsupported',
netlify-cms: code: 'ERR_OSSL_EVP_UNSUPPORTED'
netlify-cms: }
netlify-cms: Node.js v19.8.1
netlify-cms-widget-code: Successfully compiled 7 files with Babel (14850ms).
netlify-cms-widget-markdown: Successfully compiled 43 files with Babel (14896ms).
netlify-cms-backend-proxy: Browserslist: caniuse-lite is outdated. Please run:
netlify-cms-backend-proxy: npx browserslist@latest --update-db
netlify-cms-backend-proxy: Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
netlify-cms: error Command failed with exit code 1.
netlify-cms: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
netlify-cms-backend-github: Successfully compiled 10 files with Babel (16137ms).
lerna ERR! yarn run develop exited 1 in 'netlify-cms'
lerna ERR! yarn run develop stdout:
$ webpack serve --hot
Building [netlify-cms, library: NetlifyCms]
2.10.192-dev
ℹ 「wds」: Project is running at http://0.0.0.0:8080/
ℹ 「wds」: webpack output is served from /dist/
ℹ 「wds」: Content not from webpack is served from ../../dev-test
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run develop stderr:
node: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:140:10)
at module.exports (/home/azimi-ali/decap-cms/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:503:5
at /home/azimi-ali/decap-cms/node_modules/webpack/lib/NormalModule.js:358:12
at /home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at Array.<anonymous> (/home/azimi-ali/decap-cms/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/azimi-ali/decap-cms/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
at /home/azimi-ali/decap-cms/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 v19.8.1
error Command failed with exit code 1.
lerna ERR! yarn run develop exited 1 in 'netlify-cms'
lerna WARN complete Waiting for 34 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "develop" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code