-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Unbound variable `performance.timeOrigin' #207
Comments
Where do you see this? Browser or Node and what version what OS? |
I think that I need to add a fallback when performance API is missing. |
Debian 11 / Nodejs, after the command |
I think you have very old nodeJS, Debian is known to have outdated packages. What version of Node do you have? |
v12.22.5 |
I think that before Node 14 you need to import performance from 'perf_hooks' module. It also works for Node 14. So I need to add: (define performance (. (require "perf_hooks") "performance")) into R7RS.scm file. Before the fix, you can try to update Node, just install nvm, which can be used to update Node. I was wondering if you can fix it somehow with the current version. You can change how the standard library is loaded with |
Oh, it seems that I've already fixed this issue in 1c3be12 But there are only 2 bug fixes so it was not released as new beta version. |
The text was updated successfully, but these errors were encountered: