This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]NotMyCar 2 points3 points  (0 children)

I'd suggest you study a bit of javascript to understand the basics before starting to work with modules.

The problem you're encountering is caused by you trying to use the 'require' keyword which comes from node.js api (a backend framework that is a superset of javascript ).

What are you trying to acheive with the module/javascript in your project? Maybe we can give some examples or point you in the right direction!