freeCodeCamp: [beta] Basic Node & Express - TypeError: Cannot read property 'stack' of undefined
Challenge Name
https://beta.freecodecamp.org/en/challenges/basic-node-and-express/meet-the-node-console
Issue Description
Using Glitch - below error in console on opening - cannot read property ‘stack’ of undefined.
If coding console.log(“Hello World”); as per challenge instructions, will print before error but not pass tests.
If attempting to run locally cannot run ‘npm start’ as Error: Cannot find module ‘fcc-express-bground’ also present. Solved this with ‘npm install fcc-express-bground’ but then receive same cannot read property ‘stack’ of undefined error (same output as below).
Could not find node 4.4.5, using 6.12.3
2:26 PM
a few seconds ago
TypeError: Cannot read property 'stack' of undefined
2:26 PM
at Object.setupBackgroundApp (/app/node_modules/fcc-express-bground/index.js:149:31)
2:26 PM
at Object.<anonymous> (/app/server.js:25:9)
2:26 PM
at Module._compile (module.js:570:32)
2:26 PM
at Object.Module._extensions..js (module.js:579:10)
2:26 PM
at Module.load (module.js:487:32)
2:26 PM
at tryModuleLoad (module.js:446:12)
2:26 PM
at Function.Module._load (module.js:438:3)
2:26 PM
at Module.runMain (module.js:604:10)
2:26 PM
at run (bootstrap_node.js:383:7)
2:26 PM
at startup (bootstrap_node.js:149:9)
2:26 PM
Node is listening on port 3000...
Browser Information
- Browser Name, Version: Chrome - Version 64.0.3282.140 (Official Build) (64-bit)
- Operating System: Windows
- Mobile, Desktop, or Tablet:
Screenshot

About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (18 by maintainers)
The move is now complete. Thanks @Em-Ant for your help and support on this. Repo is available here: https://github.com/freeCodeCamp/fcc-express-bground-pkg
@Em-Ant you can transfer this repo and any other repos to me, I’ll take care of moving them over to the org. Also its preferable that you change the naming schema as per the boilerplates.