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
I followed the README, and get stuck at step 6 with the following error:
$ ./edit en
TypeError: LRUCache is not a constructor
at new RequestCaptureStream (/Users/shallow-beach/js-info/server/modules/engine/log/requestCaptureStream.js:37:23)
at Object.<anonymous> (/Users/shallow-beach/js-info/server/modules/engine/log/streams.js:37:17)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Users/shallow-beach/js-info/server/modules/engine/log/index.js:23:15)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
I am just using the current master branch of .info. Anyone bumped into this before?
The text was updated successfully, but these errors were encountered:
Yup, I encountered the same issue. You just need to fix the import statement.
Replace the import of 'lru-cache' in /Users/shallow-beach/js-info/server/modules/engine/log/requestCaptureStream.js with let LRUCache = require('lru-cache');
I am on up-to-date MacOS on ARM.
I followed the README, and get stuck at step 6 with the following error:
I am just using the current master branch of .info. Anyone bumped into this before?
The text was updated successfully, but these errors were encountered: