Test's script in package.json looks like:
"test": "mocha --compilers js:@babel/register --recursive"
After running this script, an error message was displayed:
✖ ERROR: --compilers is DEPRECATED and no longer supported.
According to this article, need to use --require instead of --compiler
openapi-generator version 4.1.3
Test's script in
package.jsonlooks like:"test": "mocha --compilers js:@babel/register --recursive"After running this script, an error message was displayed:
✖ ERROR: --compilers is DEPRECATED and no longer supported.According to this article, need to use
--requireinstead of--compileropenapi-generator version 4.1.3