New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: file.replace is not a function #3890
Comments
I'm not able to reproduce the problem you reported. I've done a fresh clone and then followed the steps. Here's the output:
Closing as not reproducible. If the issue persists, please provide a minimal reproduction and the exact steps you took. |
I am seeing the same error. |
Adding to it I'm seeing the same error after cloning the repo and too frequently. I can see that it usually expects the file object to be
|
Fixed in 26de756 with the help of @purplecandy! Will be in 9.4.0 which will come out in the next hour. |
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Trying to do some theme development. Set up the dev environment as documented here: https://squidfunk.github.io/mkdocs-material/customization/#theme-development
I run
npm start
, and it starts without error.I make a change to a file in the theme, and it spits out an error (see below).
Expected behaviour
File changes do not cause npm to crash.
Actual behaviour
Error output:
Steps to reproduce
npm start
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: