marcuswestin / require

javascript module management. brings node's require statement and npm to the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Require() Function Malfunction

erhanyasar opened this issue · comments

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 with indexedDBShim/issue#260 and now with another Stackoverflow question's snippet as demonstration and here is an another question with directly related this issue.

I know it's because I'm trying to use node.js in the browser (client-side) as a way to work around hence, using browserify does not overcome async functions other than require. Even in the community people repeats there are lots of answers for that but obviously not! I'm still working on and will comment here if I get an answer even closing the issue now.

could you solved this problem? have the same here

@AAhrit use browserify and let me know if I can help more.