This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed Solved

ERROR afte Update npm install -g athom-cli

alexkostalexkost Member
edited March 2018 in Archive

MacBookPro13:~ alexkost$ npm install -g athom-cli

/usr/local/bin/athom -> /usr/local/lib/node_modules/athom-cli/bin/athom.js

+ athom-cli@2.1.2

added 163 packages from 76 contributors in 8.496s

MacBookPro13:~ alexkost$ athom login

internal/util.js:206

    throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');

    ^


TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function

    at Object.promisify (internal/util.js:206:11)

    at Object.<anonymous> (/usr/local/lib/node_modules/athom-cli/lib/App/index.js:23:28)

    at Module._compile (module.js:573:30)

    at Object.Module._extensions..js (module.js:584:10)

    at Module.load (module.js:507:32)

    at tryModuleLoad (module.js:470:12)

    at Function.Module._load (module.js:462:3)

    at Module.require (module.js:517:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/usr/local/lib/node_modules/athom-cli/index.js:9:22)

    at Module._compile (module.js:573:30)

    at Object.Module._extensions..js (module.js:584:10)

    at Module.load (module.js:507:32)

    at tryModuleLoad (module.js:470:12)

    at Function.Module._load (module.js:462:3)

    at Module.require (module.js:517:17)


WTF?
Tagged:

Comments

This discussion has been closed.