The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Android 8 farm.js bug
What I Wanted to Do
I’m doing “npm install” in any project on Android 8 via Termux app. Or just npm install
What Happened Instead
npm ERR! Cannot read property ‘length’ of undefined
npm ERR! A complete log of this run can be found in:
Download termux app, install nodejs and npm and try instal any package
This is not a new issue, here it
Official Android 8 ROM of Galaxy S7
$ npm --versions 5.6.0 $ node -p process.platform Usage: npm <command> ...
this is a bug with
termux itself. Please track the issue termux-side. I can’t promise npm will run on broken Node versions