Error `requireUncached is not defined`See original GitHub issue
When switching a working example from
requireUncached(...) I get this error:
ReferenceError: requireUncached is not defined at Object.action (/Users/.../http/.httpyac.js:31:20) at be.trigger (/Users/.../http/node_modules/httpyac/dist/index.js:1:3409) at async ie (/Users/.../http/node_modules/httpyac/dist/index.js:1:14784) at async $e.trigger (/Users/.../http/node_modules/httpyac/dist/index.js:1:3392) at async we (/Users/.../http/node_modules/httpyac/dist/index.js:1:21944) at async Va (/Users/.../http/node_modules/httpyac/dist/index.js:115:19709) at async Qt (/Users/.../http/node_modules/httpyac/dist/index.js:115:19085) at async Object.Ja (/Users/.../http/node_modules/httpyac/dist/index.js:139:3468) ExecuteHook: httpClient failed
Both on CLI and VS-Code plugin, node version v17.0.1
- Created a year ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
I think for the ticket there is nothing more to do currently. I will probably throw out
requireUncached with the next major release.
requireUncached is not needed while using cli. The require cache is only in memory and does not survive a restart of the app. Does not fix the bug, but it should be not your initial problem.