Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Error while installing the plugin : Error: [email protected] postinstall: node ./postinstall.js #46

Open
mayankGulati8 opened this issue Aug 19, 2020 · 0 comments

Comments

@mayankGulati8
Copy link

mayankGulati8 commented Aug 19, 2020

Could you please help me in the same . I am pasting snippet of logs along with the attached debug log if needed for reference.

Terminal logs:

[email protected] postinstall /usr/local/lib/node_modules/test-ai-classifier/node_modules/protobufjs
node scripts/postinstall

[email protected] postinstall /usr/local/lib/node_modules/test-ai-classifier
node ./postinstall.js

/usr/local/lib/node_modules/test-ai-classifier/node_modules/bluebird/js/release/promisify.js:270
throw new TypeError("expecting a function but got " + util.classString(fn));
^
TypeError: expecting a function but got [object Undefined]
at Function.promisify (/usr/local/lib/node_modules/test-ai-classifier/node_modules/bluebird/js/release/promisify.js:270:15)
at Object. (/usr/local/lib/node_modules/test-ai-classifier/node_modules/appium-support/lib/zip.js:17:20)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
at Object. (/usr/local/lib/node_modules/test-ai-classifier/node_modules/appium-support/index.js:10:1)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
at Object. (/usr/local/lib/node_modules/test-ai-classifier/lib/download.js:3:1)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
npm WARN [email protected] requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node ./postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

╭──────────────────────────────────────╮
│ │
│ Update available 5.6.0 → 6.14.8 │
│ Run npm i npm to update │
│ │
╰──────────────────────────────────────╯

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mobilitypractice/.npm/_logs/2020-08-19T18_30_37_225Z-debug.log
2020-08-19T18_30_37_225Z-debug.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant