question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

content is not defined

See original GitHub issue

sometimes I get this error

/Users/shensi/codes/uhccjProject/uhccjMain/client/modules/App/App.js:16
var _App = content.locals;
           ^

ReferenceError: content is not defined
    at Object.<anonymous> (App.js:5:1)
    at Module._compile (module.js:409:26)
    at loader (/Users/shensi/codes/uhccjProject/uhccjMain/node_modules/babel-register/lib/node.js:158:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/shensi/codes/uhccjProject/uhccjMain/node_modules/babel-register/lib/node.js:168:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (routes.js:4:1)
    at Module._compile (module.js:409:26)
    at loader (/Users/shensi/codes/uhccjProject/uhccjMain/node_modules/babel-register/lib/node.js:158:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/shensi/codes/uhccjProject/uhccjMain/node_modules/babel-register/lib/node.js:168:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
kieusonlamcommented, Sep 5, 2016
0reactions
sham3kcommented, Nov 18, 2016

Downgrading to Webpack ^1.13.3 seems to solve it. Wierd bug, though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - show content not defined - Stack Overflow
I'm trying to implement a show more & show less. When executing this code I get and error "Show content not defined" can't...
Read more >
Getting error: content is not defined (Example) - Treehouse
When I go to run this and load up the web page I get the content is not defined error message, I assume...
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
Uncaught ReferenceError: $ is not defined
Uncaught ReferenceError : $ is not defined: This usually indicates that jQuery is not loaded and JavaScript does not recognize $. Even with...
Read more >
ReferenceError: "x" is not defined - JavaScript
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found