₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,313 members, 8,421,302 topics. Date: Saturday, 06 June 2026 at 08:40 AM

Toggle theme

Epsstore's Posts

Nairaland ForumEpsstore's ProfileEpsstore's Posts

1 2 3 4 5 6 7 8 9 10 11 (of 11 pages)

ProgrammingRe: Issue Which Nodejs And Npm After Installation by Epsstore(op): 9:06am On Jan 27, 2020
bosman50:
Npm was actually looking for a configuration file in a config directory but couldn't find it. There are work around... just point the app to where the directory is.
Or, better still, reinstall.... Use this
Npm install
And all will be fine
Try installing in your home directory to avoid issues with authentication
How do I point the app to the directory is the issue... Should I extract the content of nodejs.org folder to where? I still have a node_modules folder which contains two files jquery n bootstrap
ProgrammingRe: Issue Which Nodejs And Npm After Installation by Epsstore(op): 12:24am On Jan 27, 2020
My screen shot when I type npm issues

ProgrammingRe: Issue Which Nodejs And Npm After Installation by Epsstore(op): 12:23am On Jan 27, 2020
makavele:
npm commands are mapped to something already crafted in your package.json . . .

it cannot find the package.json file to see what npm restart is mapped to.

in other words, you don't have a node project sef to being with . . .

so what are you restartinghuh? huh huh huh huh
How come I have a nodejs.org folder and a node_modules folder on my home page
ProgrammingIssue Which Nodejs And Npm After Installation by Epsstore(op): 2:33pm On Jan 26, 2020
When i type npm restart i get these error ...i have not created a directory also, how do i proceed

i use ubuntu Lts 16.04 and my home directory contains a file called nodejs.org and node_modules

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'restart' ]
2 info using npm@3.5.2
3 info using node@v4.2.6
4 verbose config Skipping project config: /home/Myname/.npmrc. (matches userconfig)
5 verbose stack Error: ENOENT: no such file or directory, open '/home/Myname/package.json'
5 verbose stack at Error (native)
6 verbose cwd /home/Myname
7 error Linux 4.15.0-45-generic
8 error argv "/usr/bin/nodejs" "/usr/bin/npm" "restart"
9 error node v4.2.6
10 error npm v3.5.2
11 error path /home/Myname/package.json
12 error code ENOENT
13 error errno -2
14 error syscall open
15 error enoent ENOENT: no such file or directory, open '/home/Myname/package.json'
16 error enoent ENOENT: no such file or directory, open '/home/Myname/package.json'
16 error enoent This is most likely not a problem with npm itself
16 error enoent and is related to npm not being able to find a file.
17 verbose exit [ -2, true ]

1 2 3 4 5 6 7 8 9 10 11 (of 11 pages)