Closed pedrolucasfv closed 1 month ago
Try adding this to your webpack.config.js and adding "@babel/plugin-proposal-optional-chaining": "^7.21.0", "@babel/preset-typescript": "^7.12.1",
to your package.json
{
test: /\.jsx?$/,
exclude: /node_modules\/(?!(emoji-mart)\/).*/, // Include emoji-mart
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
plugins: ['@babel/plugin-proposal-optional-chaining'] // Handles optional chaining
}
}
}
I was able to solve it by fixing the version of emoji-mart at 5.5.2 instead of leaving it with the ^ in package.json, as it seems that this problem occurs in version 5.6.0 of emoji-mart
This should be resolved with the latest version of the CLI plugin (7.0.5).
I tried again with this version (7.0.5) and continuous have this problem with emoji-mart. I need to do something else to resolve this problem with version 5.6.0 of emoji-mart?
I'm trying to update my flex-project template with the upstream and i getting this error. I was using the command
twilio plugins:install @twilio-labs/plugin-flex@7.0.0