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
After performing npm test, I am getting following error, so can you help me please in this or suggest me steps if I missing something :
maxmin@2.1.0 test /maxmin
xo && ava
test.js:5:1
✖ 5:1 Block-scoped variables in strict mode are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 6:1 Block-scoped variables in strict mode are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 8:17 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 13:17 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 14:31 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 14:49 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 15:31 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 15:49 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 18:18 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
index.js:2:1
✖ 2:1 Unexpected var, use let or const instead. no-var
✖ 3:1 Unexpected var, use let or const instead. no-var
✖ 4:1 Unexpected var, use let or const instead. no-var
✖ 5:1 Unexpected var, use let or const instead. no-var
✖ 6:1 Unexpected var, use let or const instead. no-var
✖ 13:2 Unexpected var, use let or const instead. no-var
✖ 13:6 The variable ret should be named returnValue. A more descriptive name will do too. unicorn/prevent-abbreviations
16 errors
npm ERR! Test failed. See above for more details.
The text was updated successfully, but these errors were encountered:
I am using npm version:- 6.14.5 and node version:- 12.16.1
Following are steps to build and test the maxmin package:
git clone https://github.com/sindresorhus/maxmin.git
cd maxmin
npm install
npm test
After performing npm test, I am getting following error, so can you help me please in this or suggest me steps if I missing something :
maxmin@2.1.0 test /maxmin
test.js:5:1
✖ 5:1 Block-scoped variables in strict mode are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 6:1 Block-scoped variables in strict mode are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 8:17 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 13:17 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
✖ 14:31 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 14:49 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 15:31 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 15:49 The Buffer.from is not supported until Node.js 4.5.0. The configured version range is >=0.12. node/no-unsupported-features/node-builtins
✖ 18:18 Arrow functions are not supported until Node.js 4.0.0. The configured version range is >=0.12. node/no-unsupported-features/es-syntax
index.js:2:1
✖ 2:1 Unexpected var, use let or const instead. no-var
✖ 3:1 Unexpected var, use let or const instead. no-var
✖ 4:1 Unexpected var, use let or const instead. no-var
✖ 5:1 Unexpected var, use let or const instead. no-var
✖ 6:1 Unexpected var, use let or const instead. no-var
✖ 13:2 Unexpected var, use let or const instead. no-var
✖ 13:6 The variable ret should be named returnValue. A more descriptive name will do too. unicorn/prevent-abbreviations
16 errors
npm ERR! Test failed. See above for more details.
The text was updated successfully, but these errors were encountered: