question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Since 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
olehcambelcommented, May 11, 2020

No, there is no issues. Everything is working as expected. I’m closing this issue

0reactions
olehcambelcommented, May 10, 2020

Ok, thanks! I’ll try a bit later and then close this issue

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found