-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: n is not a function #551
Comments
I have a same issue. As @clock157 said, html path is set to string |
Same issue, and how to fix it? |
@aleen42 right now, set default value manually in |
Meet another problem when setting with
|
try to set empty string '' ? @aleen42 |
|
It seems not, just wait for the offical workarounds. |
setting indexHtml to |
I've just tried downgrading Docz to older versions, and getting the error all the way back to 0.12.5 when I gave up. Is the error to do with some child dep of Docz perhaps? |
@jedrichards Apparently due to sub-depedencies as there were no any recent commits today, when the problem arose. |
@aleen42 I think so too. Incidentally my Gatsby build has also broken if I |
@jedrichards if you had the |
I'm confirming an issue, but I've updated from 0.12.15 to 0.13.5 with npm accidentally. and now reverting it back doesn't help. cleaning |
Experiencing the same issue. Fresh installation, never used Setting
However, this produces the next issue:
Nethier Rolled down to |
Any solution? |
I'm trying to fix that, I guess that the latest release of |
@pedronauck What do you think of #463 (comment) to avoid this sort of semver issue ? |
Hmm, I think that the problem here is that we don't have tests to prevent this type of bug and sometimes this bugs just happen in a clean install out of the monorepo. Because I always making manual tests using the examples in our monorepo and, for example, this bug didn't happen inside it. I don't know, but I think that this is the cost of don't have tests and always try to keep dependencies evergreen 😕 I'm making some stuff to try to avoid that, like release alpha and canary before the official release, start to write tests (unitary and e2e) and keep some pieces out of our core (like use poi as a bundler)... |
@pedronauck Sorry for the issue! In The point here is that the fix also changed the behavior of the get disabling the parsing for the default value. I'm releasing a 1.1.2 version right now to bring back this unwanted feature to avoid any other troubles. I suggest you to update to |
I was suspicious of it @simonepri, I tried to find any changelog with the breaking changes, but I didn't find. Btw, I change the default value of |
@pedronauck changes can be found here |
Now docz-core is updated with the latest version, thanks @simonepri 🙏The bug is fixed, I'm releasing some new version fixing this bug :) |
thanks! |
Fixed on v0.13.7 ✅ |
@pedronauck I've unpublished These kind of errors should not happen again with the new unit test in |
@pedronauck I think that this should be reverted. Actually I think you possibly introduced a bug. |
Awesome @simonepri, thanks to the help, btw your package is really useful, I love it ❤️ |
Mother of good, really, u'right 😕 |
Can you please check if |
I updated to version |
Yes |
right, I'm reverting and releasing now 🙏 |
Bug Report
docz: 0.12.17 & 0.13.5
To Reproduce
npx docz dev
I flowed the minified code, found that
e
is string 'null', not null.so it complied an error:
The text was updated successfully, but these errors were encountered: