Uncaught TypeError: path.replace is not a function
See original GitHub issueAtom Version: 1.12.7 Electron Version: 1.3.13 System: Microsoft Windows 10 Home Thrown From: file-icons package, v2.0.0
Stack Trace
Uncaught TypeError: path.replace is not a function
At C:\Users\krist\AppData\Local\atom\app-1.12.7\resources\app.asar\node_modules\git-utils\lib\git.js:199
TypeError: path.replace is not a function
at Repository.relativize (C:\Users\krist\AppData\Local\atom\app-1.12.7\resources\app.asar\node_modules\git-utils\lib\git.js:199:19)
at GitRepository.module.exports.GitRepository.relativize (C:\Users\krist\AppData\Local\atom\app-1.12.7\resources\app.asar\src\git-repository.js:163:29)
at GitRepository.module.exports.GitRepository.getCachedPathStatus (C:\Users\krist\AppData\Local\atom\app-1.12.7\resources\app.asar\src\git-repository.js:271:33)
at File.watchRepo (C:\Users\krist\.atom\packages\file-icons\lib\filesystem\file.js:395:27)
at new File (C:\Users\krist\.atom\packages\file-icons\lib\filesystem\file.js:31:8)
at FileRegistry.get (C:\Users\krist\.atom\packages\file-icons\lib\filesystem\file-registry.js:65:17)
at new Tab (C:\Users\krist\.atom\packages\file-icons\lib\consumers\tab.js:15:32)
at Tabs.add (C:\Users\krist\.atom\packages\file-icons\lib\consumers\tabs.js:77:16)
at disposables.UI.delay.onOpenEditor.editor (C:\Users\krist\.atom\packages\file-icons\lib\consumers\tabs.js:25:10)
at Immediate._ (C:\Users\krist\.atom\packages\file-icons\lib\ui.js:70:38)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
TypeError: path.replace is not a function - Stack Overflow
I'm getting this error when running webpack - it seems that path is an object rather than a string, and the replace method...
Read more >TypeError: replace is not a function in JavaScript | bobbyhadz
The "replace is not a function" error occurs when we call the replace() method on a value that is not of type string...
Read more >Issues - GitHub
TypeError: path.replace is not a function in ./typescript/lib/typescript.js #26554. BiosBoy opened this issue on Aug 20, 2018 · 5 comments.
Read more >TypeError: replace is not a function in JavaScript - Java2Blog
TypeError : .replace is not a function occurs when we call replace() function on object which is not an string. replace() function can...
Read more >Fixed - Uncaught TypeError: a.replace is not a function
This does assume that newCount is a string, but this might not necessarily be the case - on initial page load this is...
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
I’ve published a hotfix. Please let me know if this persists after updating.
I’ll have a closer look as to why this is happening.
Yes, solved it!