Closed jared-hunter closed 1 year ago
twilio flex:plugins:start will not work on windows and throws the following error
this[kHandle] = new _Hash(algorithm, xofLen); ^ Error: error:0308010C:digital envelope routines::unsupported
@twilio/plugin-flex
6.0.3
flex-plugin-scripts
X.Y.Z
node
18.12.1
npm
9.1.3
Please include the entire content of your package.json.
package.json
{ "name": "MySamplePlugin", "version": "0.0.0", "private": true, "scripts": { "postinstall": "flex-plugin pre-script-check" }, "dependencies": { "@twilio/flex-plugin-scripts": "6.0.3", "react": "16.5.2", "react-dom": "16.5.2", "react-emotion": "9.2.12" }, "devDependencies": { "@twilio/flex-ui": "^1", "react-test-renderer": "16.5.2" } }
Please provide the steps to reproduce this bug:
correctly launch the plugin
Add any other context about the problem here.
I tested on the following versions
@jhunter-twilio Node 16 and 18 support was added in Plugin CLI v6.1.0. Upgrading to that version or higher should solve this issue.
Description
twilio flex:plugins:start will not work on windows and throws the following error
Versions
@twilio/plugin-flex
6.0.3
flex-plugin-scripts
X.Y.Z
node
18.12.1
npm
9.1.3
Package.json
Please include the entire content of your
package.json
.Steps to Reproduce
Please provide the steps to reproduce this bug:
Expected Behavior
correctly launch the plugin
Screenshots
Additional Context
Add any other context about the problem here.