postmanlabs / newman

Newman is a command-line collection runner for Postman
https://www.postman.com
Apache License 2.0
6.88k stars 1.16k forks source link

Error: this is not a typed array #1102

Closed shankyty closed 7 years ago

shankyty commented 7 years ago

This change is introduced in version 6

Please refer this

Hence need to upgrade node version in package.json

shankyty commented 7 years ago

Stacktrace in logs

TypeError: this is not a typed array.
    at Function.from (native)
    at /home/shashankt/repo/regression/node_modules/newman/lib/reporters/html/index.js:79:65
    at /home/shashankt/repo/regression/node_modules/newman/node_modules/lodash/lodash.js:13767:16
    at arrayEach (/home/shashankt/repo/regression/node_modules/newman/node_modules/lodash/lodash.js:537:11)
    at Function.transform (/home/shashankt/repo/regression/node_modules/newman/node_modules/lodash/lodash.js:13766:43)
    at EventEmitter.<anonymous> (/home/shashankt/repo/regression/node_modules/newman/lib/reporters/html/index.js:60:28)
    at EventEmitter.emit (/home/shashankt/repo/regression/node_modules/newman/node_modules/eventemitter3/index.js:151:33)
    at _.assignIn.done (/home/shashankt/repo/regression/node_modules/newman/lib/run/index.js:221:29)
    at /home/shashankt/repo/regression/node_modules/newman/node_modules/postman-runtime/lib/backpack/index.js:56:34
    at PostmanCollectionRun._.assign._process (/home/shashankt/repo/regression/node_modules/newman/node_modules/postman-runtime/lib/runner/run.js:133:20)
shankyty commented 7 years ago

https://github.com/postmanlabs/newman/pull/1103

kunagpal commented 7 years ago

@shankyty Thanks for reporting this. Could you also mention the exact Node version?

kunagpal commented 7 years ago

@shankyty A fix for this bug has been added in #1105, and will be rolled out with the next Newman release.