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
Describe the bug
In lower node versions (< 16), there is an issue with creating a new play by running yarn create-play or npm run create-play. The script works fine with node version 16.14.0.
To Reproduce
Steps to reproduce the behavior:
Using nvm try to use a node version lower than 16 (probably 14) and run npm run create-play or yarn create-play.
Fill necessary details.
An error might be evident stating trim(...).replaceAll() is not a function!
Expected behavior
To create a play
Screenshots
Desktop (please complete the following information):
OS: [e.g. Windows 10]
The text was updated successfully, but these errors were encountered:
Node.js v14 has V8 8.4 but replaceAll was added to V8 8.5 (which is used by node.js v15).
This means that you can't use .replaceAll if your Node.js version is lower that 15.
Describe the bug
In lower node versions (< 16), there is an issue with creating a new play by running
yarn create-play
ornpm run create-play
. The script works fine with node version16.14.0
.To Reproduce
Steps to reproduce the behavior:
nvm
try to use a node version lower than16
(probably14
) and runnpm run create-play
oryarn create-play
.trim(...).replaceAll()
is not a function!Expected behavior
To create a play
Screenshots
![Code_jzJJI3SB2p](https://user-images.githubusercontent.com/68743212/163792224-d3c65ba8-e880-4ef7-a51c-d89306c4476b.jpg)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: