node-cache error
See original GitHub issueSince moving to latest version
- "type-cacheable": "^2.2.1",
+ "type-cacheable": "^4.1.2",
I’m getting error on ts build *. I use ioredis for caching. Should I install node-cache as devDependencies to fix it?
*
node_modules/type-cacheable/dist/adapters/NodeCacheAdapter.d.ts:1:28 - error TS2307: Cannot find module 'node-cache'.
1 import * as NodeCache from 'node-cache';
~~~~~~~~~~~~
node_modules/type-cacheable/dist/util/useAdapter.d.ts:2:28 - error TS2307: Cannot find module 'node-cache'.
2 import * as NodeCache from 'node-cache';
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Crash when trying to cache http error · Issue #231 · node ...
When node-cache is used to cache http error it causes node process to crash. let axios = require('axios'); let NodeCache ...
Read more >Failed to get from node cache - Stack Overflow
The error looks like you've specified a client consistency level of ALL. In that scenario you will achieve the highest level of consistency ......
Read more >Local node cache is cleared when an error is observed during ...
Modeler cache depends heavily on upstream nodes. Any changes to the upstream cause the data model change, the cache is cleared. Answer. This ......
Read more >Apache Curator Recipes –
A Node Cache is used to watch a ZNode. Whenever the data is modified or the ZNode is deleted, the Node Cache will...
Read more >cache - Go Packages
func (n *NodeCache) Create(t Type, path Path, value Value) error ... func (n *NodeCache) Get(t Type, path Path, withValue bool) (*Cache, error) ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No, there is no issues. Everything is working as expected. I’m closing this issue
Ok, thanks! I’ll try a bit later and then close this issue