0

Javascript error: require is not defined

Hi, in my javascript application I load some libraries using "require" but the log dumps this error:

[ERROR]  [source file:///sd:/index.html:36]: Uncaught ReferenceError: require is not defined

 

This line is:

<script>window.$ = window.jQuery = require('lib/external/jquery/jquery.js');</script>

The weird thing is that this same code runs perfectly in others brightsign devices.

Thank you for your help

1 comment

Please sign in to leave a comment.