₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,959 members, 8,447,951 topics. Date: Sunday, 19 July 2026 at 11:43 AM

Toggle theme

Please Help , After Installing Nodejs, Npm Fore My React Native Setup - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPlease Help , After Installing Nodejs, Npm Fore My React Native Setup (894 Views)

1 Reply (Go Down)

Please Help , After Installing Nodejs, Npm Fore My React Native Setup by jostmof(op): 11:46am On Dec 19, 2019
i get this error when i tried to install cLi using terminal command

ikenna@liteloadfit:~$ sudo npm intall -g expo-cli
[sudo] password for ikenna:

Usage: npm <command>

where <command> is one of:
access, add-user, adduser, apihelp, author, bin, bugs, c,
cache, completion, config, ddp, dedupe, deprecate, dist-tag,
dist-tags, docs, edit, explore, faq, find, find-dupes, get,
help, help-search, home, i, info, init, install,
install-test, issues, it, la, link, list, ll, ln, login,
logout, ls, outdated, owner, pack, ping, prefix, prune,
publish, r, rb, rebuild, remove, repo, restart, rm, root,
run-script, s, se, search, set, show, shrinkwrap, star,
stars, start, stop, t, tag, team, test, tst, un, uninstall,
unlink, unpublish, unstar, up, update, upgrade, v, verison,
version, view, whoami

npm <cmd> -h quick help on <cmd>
npm -l display full usage info
npm faq commonly asked questions
npm help <term> search for help on <term>
npm help npm involved overview

Specify configs in the ini-formatted file:
/home/ikenna/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@3.5.2 /usr/share/npm
Re: Please Help , After Installing Nodejs, Npm Fore My React Native Setup by codekobo: 11:48am On Dec 19, 2019
From code you typed there is a typo. Should be install
Re: Please Help , After Installing Nodejs, Npm Fore My React Native Setup by valzey(m): 6:11pm On Dec 19, 2019
The above reply is correct but I don't think npm needs sudo to run.
Re: Please Help , After Installing Nodejs, Npm Fore My React Native Setup by makavele:
Lesson #1: never run npm install or any other npm commands using sudo . . big security issue . . .

1 Reply

Npm Run Build Problem (react)My React Single Page For Small Start Up Business (Request Web App - No Backend )Please Help I'm Getting Errors Why Installing Npm On Termux234

Top 10 Django PackagesI Build My First Messenger Chat Bot From Scratch - Medico Chat 1.0Chinese Miracle II Dongle