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.

traverse.clearCache is not a function

See original GitHub issue

Input Code

const foo = "foo";
const bar = `asdf ${foo} asd ${foo}`

Babel REPL link

Actual Output

traverse.clearCache is not a function. (In 'traverse.clearCache()', 'traverse.clearCache' is undefined)

Expected Output

const bar = `asdf foo asd foo`

Details

Noticed this bug when playing around on the repl. Only the minify plugin is enabled.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:21
  • Comments:5

github_iconTop GitHub Comments

14reactions
jackyefcommented, May 1, 2019

Also found this while playing around with the online repl. Any updates on this one?

12reactions
rhuanbarretocommented, Mar 15, 2019

Also got the same problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

traverse.clearCache is not a function - Stack Overflow
traverse.clearCache is not a function ... Clear the browser cache, or open in incognito window. I could make it work without any problem:...
Read more >
traverse.clearCache is not a function · Issue #942 · babel/minify
Go to Babeljs.io, and click "Minify". ... Even no code shows the error "traverse.clearCache is not a function". Writing any simple code such...
Read more >
[Solved]-traverse.clearCache is not a function-babel.js
Coding example for the question traverse.clearCache is not a function-babel.js.
Read more >
Developers - traverse.clearCache is not a function - - Bountysource
Input Code. const foo = "foo"; const bar = `asdf ${foo} asd ${foo}`. Babel REPL link. Actual Output. traverse.clearCache is not a function....
Read more >
babel repl traverse.clearcache is not a function Onsite / Offshore ...
babel repl traverse.clearcache is not a function Onsite / Offshore – Outsource to India / Philippines / Ukraine through HireKhan.com starting $ 750...
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