Tuesday, 14 March 2017

Consequently “Uncaught ReferenceError: require is not defined”

Even if I install require() with npm both globally and locally, it doesn't seem getting familiarize with it. Even after npm install with requirejs and require.js, it still lacks require() function. After adding require.js or common.js as a script via index.html it produce some other errors again which make me think not being not recovered well because of prior one again.

It was almost the first time I got the situation, indexedDBShim/issue#260 and now with another Stackoverflow question's snippet as demonstration.



via Erhan Yaşar

No comments:

Post a Comment