You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The website toolchain is kind of dead, would you guys also consider switching for a modern bundler like vite?
I'd be happy to make a rewrite if that's the case.
Starting the development server...
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 (/home/luckas/Projects/velirano/node_modules/webpack/lib/u
til/createHash.js:90:53)
at NormalModule._initBuildHash (/home/luckas/Projects/velirano/node_modules/
webpack/lib/NormalModule.js:386:16)
at handleParseError (/home/luckas/Projects/velirano/node_modules/webpack/lib
/NormalModule.js:434:10)
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:4
66:5
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:3
27:12
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:370:3
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:211:10)
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:218:10)
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:233:3
at runSyncOrAsync (/home/luckas/Projects/velirano/node_modules/loader-runner
/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:229:2)
at Array.<anonymous> (/home/luckas/Projects/velirano/node_modules/loader-run
ner/lib/LoaderRunner.js:202:4)
at Storage.finished (/home/luckas/Projects/velirano/node_modules/enhanced-re
solve/lib/CachedInputFileSystem.js:43:16)
at /home/luckas/Projects/velirano/node_modules/enhanced-resolve/lib/CachedIn
putFileSystem.js:79:9
/home/luckas/Projects/velirano/node_modules/react-scripts/scripts/start.js:19
throw err;
^
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 (/home/luckas/Projects/velirano/node_modules/webpack/lib/u
til/createHash.js:90:53)
at NormalModule._initBuildHash (/home/luckas/Projects/velirano/node_modules/
webpack/lib/NormalModule.js:386:16)
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:4
18:10
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:2
FAIL src/App.test.js (6.714s)
✕ renders without crashing (412ms)
● renders without crashing
TypeError: this.stop is not a function
19 |
20 |componentWillUnmount() {
> 21 |this.stop();
| ^
22 | }
23 |
24 |render() {
at Countdown.stop [as componentWillUnmount] (src/Components/CountDown.js:2
1:10)
at callComponentWillUnmountWithTimer (node_modules/react-dom/cjs/react-dom
.development.js:16065:12)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.d
evelopment.js:149:14)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.d
evelopment.js:199:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development
.js:256:31)
at safelyCallComponentWillUnmount (node_modules/react-dom/cjs/react-dom.de
velopment.js:16072:5)
at commitUnmount (node_modules/react-dom/cjs/react-dom.development.js:1644
6:11)
at commitNestedUnmounts (node_modules/react-dom/cjs/react-dom.development.
js:16477:5)
at unmountHostComponents (node_modules/react-dom/cjs/react-dom.development
.js:16738:7)
at commitDeletion (node_modules/react-dom/cjs/react-dom.development.js:167
90:5)
at commitAllHostEffects (node_modules/react-dom/cjs/react-dom.development.
js:17544:11)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.d
evelopment.js:149:14)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.d
evelopment.js:199:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development
.js:256:31)
at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:17753:7
)
at completeRoot (node_modules/react-dom/cjs/react-dom.development.js:19240
:3)
at performWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:
19169:9)
at performWork (node_modules/react-dom/cjs/react-dom.development.js:19077:
7)
at performSyncWork (node_modules/react-dom/cjs/react-dom.development.js:19
051:3)
at requestWork (node_modules/react-dom/cjs/react-dom.development.js:18920:
5)
at scheduleWork (node_modules/react-dom/cjs/react-dom.development.js:18729
:5)
at scheduleRootUpdate (node_modules/react-dom/cjs/react-dom.development.js
:19397:3)
at updateContainerAtExpirationTime (node_modules/react-dom/cjs/react-dom.d
evelopment.js:19425:10)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:19
482:10)
at ReactRoot.Object.<anonymous>.ReactRoot.render (node_modules/react-dom/c
js/react-dom.development.js:19774:3)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.
development.js:19929:12)
at node_modules/react-dom/cjs/react-dom.development.js:19989:9
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:1
9280:10)
at Object.unmountComponentAtNode (node_modules/react-dom/cjs/react-dom.dev
elopment.js:19988:7)
at Object.unmountComponentAtNode (src/App.test.js:8:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.error node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom
/virtual-console.js:29
Error: Uncaught [TypeError: this.stop is not a function]
at reportException (/home/luckas/Projects/velirano/node_modules/jest-env
ironment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors
.js:66:24)
at invokeEventListeners (/home/luckas/Projects/velirano/node_modules/jes
t-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.
js:209:9)
at HTMLUnknownElementImpl._dispatch (/home/luckas/Projects/velirano/node
_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/Event
Target-impl.js:119:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/luckas/Projects/velirano/
node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/E
ventTarget-impl.js:82:17)
at HTMLUnknownElementImpl.dispatchEvent (/home/luckas/Projects/velirano/
node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/HT
MLElement-impl.js:30:27)
at HTMLUnknownElement.dispatchEvent (/home/luckas/Projects/velirano/node
_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Ev
entTarget.js:157:21)
at Object.invokeGuardedCallbackDev (/home/luckas/Projects/velirano/node_
modules/react-dom/cjs/react-dom.development.js:199:16)
at invokeGuardedCallback (/home/luckas/Projects/velirano/node_modules/re
act-dom/cjs/react-dom.development.js:256:31)
at safelyCallComponentWillUnmount (/home/luckas/Projects/velirano/node_m
odules/react-dom/cjs/react-dom.development.js:16072:5)
at commitUnmount (/home/luckas/Projects/velirano/node_modules/react-dom/
cjs/react-dom.development.js:16446:11) TypeError: this.stop is not a function
at Countdown.stop [as componentWillUnmount] (/home/luckas/Projects/velir
ano/src/Components/CountDown.js:21:10)
at callComponentWillUnmountWithTimer (/home/luckas/Projects/velirano/nod
e_modules/react-dom/cjs/react-dom.development.js:16065:12)
at HTMLUnknownElement.callCallback (/home/luckas/Projects/velirano/node_
modules/react-dom/cjs/react-dom.development.js:149:14)
at invokeEventListeners (/home/luckas/Projects/velirano/node_modules/jes
t-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.
js:193:27)
at HTMLUnknownElementImpl._dispatch (/home/luckas/Projects/velirano/node
_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/Event
Target-impl.js:119:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/luckas/Projects/velirano/
node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/E
ventTarget-impl.js:82:17)
at HTMLUnknownElementImpl.dispatchEvent (/home/luckas/Projects/velirano/
node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/HT
MLElement-impl.js:30:27)
at HTMLUnknownElement.dispatchEvent (/home/luckas/Projects/velirano/node
_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Ev
entTarget.js:157:21)
at Object.invokeGuardedCallbackDev (/home/luckas/Projects/velirano/node_
modules/react-dom/cjs/react-dom.development.js:199:16)
at invokeGuardedCallback (/home/luckas/Projects/velirano/node_modules/re
act-dom/cjs/react-dom.development.js:256:31)
at safelyCallComponentWillUnmount (/home/luckas/Projects/velirano/node_m
odules/react-dom/cjs/react-dom.development.js:16072:5)
at commitUnmount (/home/luckas/Projects/velirano/node_modules/react-dom/
cjs/react-dom.development.js:16446:11)
at commitNestedUnmounts (/home/luckas/Projects/velirano/node_modules/rea
ct-dom/cjs/react-dom.development.js:16477:5)
at unmountHostComponents (/home/luckas/Projects/velirano/node_modules/re
act-dom/cjs/react-dom.development.js:16738:7)
at commitDeletion (/home/luckas/Projects/velirano/node_modules/react-dom
/cjs/react-dom.development.js:16790:5)
at commitAllHostEffects (/home/luckas/Projects/velirano/node_modules/rea
ct-dom/cjs/react-dom.development.js:17544:11)
at HTMLUnknownElement.callCallback (/home/luckas/Projects/velirano/node_
modules/react-dom/cjs/react-dom.development.js:149:14)
at invokeEventListeners (/home/luckas/Projects/velirano/node_modules/jes
t-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.
js:193:27)
at HTMLUnknownElementImpl._dispatch (/home/luckas/Projects/velirano/node
_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/Event
Target-impl.js:119:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/luckas/Projects/velirano/
node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/E
ventTarget-impl.js:82:17)
at HTMLUnknownElementImpl.dispatchEvent (/home/luckas/Projects/velirano/
node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/HT
MLElement-impl.js:30:27)
at HTMLUnknownElement.dispatchEvent (/home/luckas/Projects/velirano/node
_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Ev
entTarget.js:157:21)
at Object.invokeGuardedCallbackDev (/home/luckas/Projects/velirano/node_
modules/react-dom/cjs/react-dom.development.js:199:16)
at invokeGuardedCallback (/home/luckas/Projects/velirano/node_modules/re
act-dom/cjs/react-dom.development.js:256:31)
at commitRoot (/home/luckas/Projects/velirano/node_modules/react-dom/cjs
/react-dom.development.js:17753:7)
at completeRoot (/home/luckas/Projects/velirano/node_modules/react-dom/c
js/react-dom.development.js:19240:3)
at performWorkOnRoot (/home/luckas/Projects/velirano/node_modules/react-
dom/cjs/react-dom.development.js:19169:9)
at performWork (/home/luckas/Projects/velirano/node_modules/react-dom/cj
s/react-dom.development.js:19077:7)
at performSyncWork (/home/luckas/Projects/velirano/node_modules/react-do
m/cjs/react-dom.development.js:19051:3)
at requestWork (/home/luckas/Projects/velirano/node_modules/react-dom/cj
s/react-dom.development.js:18920:5)
at scheduleWork (/home/luckas/Projects/velirano/node_modules/react-dom/c
js/react-dom.development.js:18729:5)
at scheduleRootUpdate (/home/luckas/Projects/velirano/node_modules/react
-dom/cjs/react-dom.development.js:19397:3)
at updateContainerAtExpirationTime (/home/luckas/Projects/velirano/node_
modules/react-dom/cjs/react-dom.development.js:19425:10)
at updateContainer (/home/luckas/Projects/velirano/node_modules/react-do
m/cjs/react-dom.development.js:19482:10)
at ReactRoot.Object.<anonymous>.ReactRoot.render (/home/luckas/Projects/
velirano/node_modules/react-dom/cjs/react-dom.development.js:19774:3)
at legacyRenderSubtreeIntoContainer (/home/luckas/Projects/velirano/node
_modules/react-dom/cjs/react-dom.development.js:19929:12)
at /home/luckas/Projects/velirano/node_modules/react-dom/cjs/react-dom.d
evelopment.js:19989:9
at unbatchedUpdates (/home/luckas/Projects/velirano/node_modules/react-d
om/cjs/react-dom.development.js:19280:10)
at Object.unmountComponentAtNode (/home/luckas/Projects/velirano/node_mo
dules/react-dom/cjs/react-dom.development.js:19988:7)
at Object.unmountComponentAtNode (/home/luckas/Projects/velirano/src/App
.test.js:8:12)
at Object.asyncJestTest (/home/luckas/Projects/velirano/node_modules/jes
t-jasmine2/build/jasmine_async.js:108:37)
at /home/luckas/Projects/velirano/node_modules/jest-jasmine2/build/queue
_runner.js:56:12
at new Promise (<anonymous>)
at mapper (/home/luckas/Projects/velirano/node_modules/jest-jasmine2/bui
ld/queue_runner.js:43:19)
at /home/luckas/Projects/velirano/node_modules/jest-jasmine2/build/queue
_runner.js:87:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.error node_modules/react-dom/cjs/react-dom.development.js:16013
The above error occurred in the <Countdown> component:
in Countdown (created by withProps(Countdown))
in withProps(Countdown) (created by withState(withProps(Countdown)))
in withState(withProps(Countdown)) (created by withState(withState(withP
rops(Countdown))))
in withState(withState(withProps(Countdown))) (created by withState(with
State(withState(withProps(Countdown)))))
in withState(withState(withState(withProps(Countdown)))) (at App.js:20)
in div (created by Context.Consumer)
in StyledComponent (created by Card)
in Card (at App.js:19)
in div (created by Basic)
❯ npmR build
> velirano@0.1.0 build
> react-scripts build
Creating an optimized production build...
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 (/home/luckas/Projects/velirano/node_modules/webpack/lib/u
til/createHash.js:90:53)
at NormalModule._initBuildHash (/home/luckas/Projects/velirano/node_modules/
webpack/lib/NormalModule.js:386:16)
at handleParseError (/home/luckas/Projects/velirano/node_modules/webpack/lib
/NormalModule.js:434:10)
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:4
66:5
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:3
27:12
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:370:3
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:211:10)
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:218:10)
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:233:3
at runSyncOrAsync (/home/luckas/Projects/velirano/node_modules/loader-runner
/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:229:2)
at Array.<anonymous> (/home/luckas/Projects/velirano/node_modules/loader-run
ner/lib/LoaderRunner.js:202:4)
at Storage.finished (/home/luckas/Projects/velirano/node_modules/enhanced-re
solve/lib/CachedInputFileSystem.js:43:16)
at /home/luckas/Projects/velirano/node_modules/enhanced-resolve/lib/CachedIn
putFileSystem.js:79:9
/home/luckas/Projects/velirano/node_modules/react-scripts/scripts/build.js:19
throw err;
^
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 (/home/luckas/Projects/velirano/node_modules/webpack/lib/u
til/createHash.js:90:53)
at NormalModule._initBuildHash (/home/luckas/Projects/velirano/node_modules/
webpack/lib/NormalModule.js:386:16)
Starting the development server...
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 (/home/luckas/Projects/velirano/node_modules/webpack/lib/u
til/createHash.js:90:53)
at NormalModule._initBuildHash (/home/luckas/Projects/velirano/node_modules/
webpack/lib/NormalModule.js:386:16)
at handleParseError (/home/luckas/Projects/velirano/node_modules/webpack/lib
/NormalModule.js:434:10)
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:4
66:5
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:3
27:12
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:370:3
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:211:10)
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:218:10)
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:233:3
at runSyncOrAsync (/home/luckas/Projects/velirano/node_modules/loader-runner
/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/luckas/Projects/velirano/node_modules/loader-
runner/lib/LoaderRunner.js:229:2)
at Array.<anonymous> (/home/luckas/Projects/velirano/node_modules/loader-run
ner/lib/LoaderRunner.js:202:4)
at Storage.finished (/home/luckas/Projects/velirano/node_modules/enhanced-re
solve/lib/CachedInputFileSystem.js:43:16)
at /home/luckas/Projects/velirano/node_modules/enhanced-resolve/lib/CachedIn
putFileSystem.js:79:9
/home/luckas/Projects/velirano/node_modules/react-scripts/scripts/start.js:19
throw err;
^
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 (/home/luckas/Projects/velirano/node_modules/webpack/lib/u
til/createHash.js:90:53)
at NormalModule._initBuildHash (/home/luckas/Projects/velirano/node_modules/
webpack/lib/NormalModule.js:386:16)
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:4
18:10
at /home/luckas/Projects/velirano/node_modules/webpack/lib/NormalModule.js:2
93:13
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:364:11
at /home/luckas/Projects/velirano/node_modules/loader-runner/lib/LoaderRunne
r.js:230:18
at context.callback (/home/luckas/Projects/velirano/node_modules/loader-runn
er/lib/LoaderRunner.js:111:13)
at /home/luckas/Projects/velirano/node_modules/babel-loader/lib/index.js:51:
103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.16.0
The text was updated successfully, but these errors were encountered:
The website toolchain is kind of dead, would you guys also consider switching for a modern bundler like vite?
I'd be happy to make a rewrite if that's the case.
The text was updated successfully, but these errors were encountered: