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
I enabled HTTPS by using the Symfony web server SSL certificate as mentioned in the encore docs. However, running yarn dev-server yields the following error:
Running webpack-dev-server ...
<i> [webpack-dev-server] Generating SSL certificate...
<i> [webpack-dev-server] SSL certificate: /Users/woutercypers/Code/test-project/node_modules/.cache/webpack-dev-server/server.pem
[webpack-cli] Error: unsupported
at configSecureContext (node:internal/tls/secure-context:279:15)
at Object.createSecureContext (node:_tls_common:117:3)
at Server.setSecureContext (node:_tls_wrap:1354:27)
at Server (node:_tls_wrap:1218:8)
at new Server (node:https:74:3)
at Object.createServer (node:https:112:10)
at Server.createServer (/Users/woutercypers/Code/test-project/node_modules/webpack-dev-server/lib/Server.js:2528:57)
at Server.initialize (/Users/woutercypers/Code/test-project/node_modules/webpack-dev-server/lib/Server.js:1893:10)
at Server.start (/Users/woutercypers/Code/test-project/node_modules/webpack-dev-server/lib/Server.js:3356:16)
at async Command.<anonymous> (/Users/woutercypers/Code/test-project/node_modules/@webpack-cli/serve/lib/index.js:257:25)
It appears that this doesn't happen on older versions of Node. I tried Node the following node versions:
Problem description
I enabled HTTPS by using the Symfony web server SSL certificate as mentioned in the encore docs. However, running
yarn dev-server
yields the following error:It appears that this doesn't happen on older versions of Node. I tried Node the following node versions:
Used versions
Steps to reproduce
webpack.config.js
yarn dev-server
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: