help icon indicating copy to clipboard operation
help copied to clipboard

Error: Cannot find module 'nconf'

Open xedom opened this issue 8 years ago • 8 comments

Someone can help me please?

i have:

  • node.js v9.8.0
  • mongo v3.2.11
  • git clone git://github.com/NodeBB/NodeBB.git nodebb
  • debian 9

error:

module.js:545
    throw err;
    ^

Error: Cannot find module 'nconf'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:470:25)
    at Module.require (module.js:593:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/root/nodebb/app.js:28:13)
    at Module._compile (module.js:649:30)
    at Object.Module._extensions..js (module.js:660:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:501:12)
    at Function.Module._load (module.js:493:3)

xedom avatar Mar 17 '18 08:03 xedom

$ npm install nconf

nconf is an NPM module => https://www.npmjs.com/package/nconf

ORESoftware avatar Mar 17 '18 08:03 ORESoftware

ok ,thanks but now i have this problem: http://prntscr.com/isdz7b

xedom avatar Mar 17 '18 08:03 xedom

If your project has an package.json in it, just run npm install to install all the dependencies it needs to function.

SomeoneWeird avatar Mar 17 '18 08:03 SomeoneWeird

i have package.json into intall foldel, should i make? :

$ cd intall/
$ npm install

or move package.json into root folder?

xedom avatar Mar 17 '18 09:03 xedom

i did so: http://prntscr.com/ise5ew

xedom avatar Mar 17 '18 09:03 xedom

Check the installation guide for nodebb https://docs.nodebb.org/installing/os/debian/

ukulanne avatar Mar 23 '18 03:03 ukulanne

@xedom - is this still outstanding?

gireeshpunathil avatar Apr 05 '18 13:04 gireeshpunathil

closing, please re-open if this is still an issue

gireeshpunathil avatar Apr 08 '18 05:04 gireeshpunathil