hot-import icon indicating copy to clipboard operation
hot-import copied to clipboard

Node v10.0 TypeError: frame.getFileName is not a function

Open huan opened this issue 6 years ago • 0 comments

Related to: https://github.com/nodejs/node/issues/20258#issuecomment-386782293

Will be fixed after v10.1

https://travis-ci.com/zixia/hot-import/jobs/122661135

> [email protected] test:unit /home/travis/build/zixia/hot-import
> blue-tape -r ts-node/register -r source-map-support/register "src/**/*.spec.ts" "tests/**/*.spec.ts"
internal/util.js:360
    const filename = frame.getFileName();
                           ^
TypeError: frame.getFileName is not a function
    at isInsideNodeModules (internal/util.js:360:28)
    at showFlaggedDeprecation (buffer.js:149:8)
    at new Buffer (buffer.js:174:3)
    at Array.<anonymous> (/home/travis/build/zixia/hot-import/node_modules/source-map-support/source-map-support.js:149:21)
    at /home/travis/build/zixia/hot-import/node_modules/source-map-support/source-map-support.js:53:24
    at mapSourcePosition (/home/travis/build/zixia/hot-import/node_modules/source-map-support/source-map-support.js:171:21)
    at wrapCallSite (/home/travis/build/zixia/hot-import/node_modules/source-map-support/source-map-support.js:343:20)
    at /home/travis/build/zixia/hot-import/node_modules/source-map-support/source-map-support.js:378:26
    at Array.map (<anonymous>)
    at Function.prepareStackTrace (/home/travis/build/zixia/hot-import/node_modules/source-map-support/source-map-support.js:377:24)

huan avatar May 07 '18 06:05 huan