You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.
I would love to try this library but it does not seem to work for me. First, I manually downloaded the zip-file and extracted it to a folder located in a Visual Studio Website. Next, I tried to install jerzy using the node.js command npm install jerzy. For both cases, Chrome console give the following errors (A + B):
A. Uncaught ReferenceError: require is not defined
I then googled "javascript require" and downloaded "require.js" which was probably missing? Afterwards, the console wrote:
B. Uncaught Error: Module name ".lib/vector" has not been loaded yet for context: _. Use require([])
Without succes, I then tried to change jerzy.js according to the guidelines on: requirejs.org
What am I doing wrong? In Visual Studio, I point to jerzy.js using the standard src tag: <script src="/myWebsite/jerzy/jerzy.js"></script>
Hope you can help me out
Best regards,
Torben
The text was updated successfully, but these errors were encountered:
using npm install will not make the library automatically available in chrome.
typing require ... in a browser js console will not work either, browsers don't (yet) support javascript modules like that (afaik)
have a look at index.html and browser.js in this repo, e.g. you can clone the repo, go to the folder and open index.html in a browser, open your console, and you should see this:
Hi there
I would love to try this library but it does not seem to work for me. First, I manually downloaded the zip-file and extracted it to a folder located in a Visual Studio Website. Next, I tried to install jerzy using the node.js command
npm install jerzy
. For both cases, Chrome console give the following errors (A + B):A.
Uncaught ReferenceError: require is not defined
I then googled "javascript require" and downloaded "require.js" which was probably missing? Afterwards, the console wrote:
B.
Uncaught Error: Module name ".lib/vector" has not been loaded yet for context: _. Use require([])
Without succes, I then tried to change jerzy.js according to the guidelines on: requirejs.org
What am I doing wrong? In Visual Studio, I point to jerzy.js using the standard src tag:
<script src="/myWebsite/jerzy/jerzy.js"></script>
Hope you can help me out
Best regards,
Torben
The text was updated successfully, but these errors were encountered: