Uploaded image for project: 'BookBrainz'
  1. BookBrainz
  2. BB-208

Error when attempting to run site for the first time, `Cannot find ../../../config/development`

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Site Backend
    • Labels:
      None

      Description

      I'm trying to run the site for the first time, after attempting to execute `npm run start` I get a bunch of messages and then the program crashes with the following stack trace:

      > bbsite@0.0.0 start /home/quentin/projects/python/brainz/bookbrainz-site
      > node ./lib/server/app.js
      
      module.js:328
          throw err;
          ^
      
      Error: Cannot find module '../../../config/development'
          at Function.Module._resolveFilename (module.js:326:15)
          at Function.Module._load (module.js:277:25)
          at Module.require (module.js:354:17)
          at require (internal/module.js:12:17)
          at Object.<anonymous> (/home/quentin/projects/python/brainz/bookbrainz-site/lib/server/helpers/config.js:24:16)
          at Module._compile (module.js:410:26)
          at Object.Module._extensions..js (module.js:417:10)
          at Module.load (module.js:344:32)
          at Function.Module._load (module.js:301:12)
          at Module.require (module.js:354:17)
          at require (internal/module.js:12:17)
          at Object.<anonymous> (/home/quentin/projects/python/brainz/bookbrainz-site/lib/server/app.js:38:16)
          at Module._compile (module.js:410:26)
          at Object.Module._extensions..js (module.js:417:10)
          at Module.load (module.js:344:32)
          at Function.Module._load (module.js:301:12)
      
      npm ERR! Linux 4.4.0-57-generic
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "start"
      npm ERR! node v4.2.6
      npm ERR! npm  v3.5.2
      npm ERR! code ELIFECYCLE
      npm ERR! bbsite@0.0.0 start: `node ./lib/server/app.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the bbsite@0.0.0 start script 'node ./lib/server/app.js'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the bbsite package,/home/quentin/projects/python/brainz/bookbrainz-site/npm-debug.log
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node ./lib/server/app.js
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs bbsite
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls bbsite
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/quentin/projects/python/brainz/bookbrainz-site/npm-debug.log
      

      I'm pretty sure I installed all the dependencies correctly. I followed the instructions for setting up the project on the README. Might have missed something though.

      PS: There also wasn't an npm-debug.log file created... not sure if that is a separate issue though

        Attachments

          Activity

            People

            • Assignee:
              lordsputnik Ben Ockmore
              Reporter:
              Inondle Quentin Fulsher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package