The repo will not run in node under 12. 14/16 are recommended. What version are you using?
With 14.17.0 test was failed, with 16.17.0 all fine.
huh…
I’ll check that. I don’t remember running tests with 14, but I am working with both of them constantly.
Should the “engines” should be updated in “./package.json”?
{
"engines": {
"node": ">=12.0.0 <17.0.0",
"npm": ">=7.0.0"
}
}
edit: sorry I didn’t read “under” properly!
1 Like
Node doesn’t support the syntax…:
Here is the fix:
2 Likes