Closed danielscw closed 9 years ago
+1
+1, on node v0.10.33
Yep, broken here too. It just made a massive clusterfuck of my dev environment. Why is renderkid beta included in what should(according to semver) be a stable release?
Have seen this weird bug before. For some reason, the last prepublish
script had compiled src/layout/block/config.coffee
to src/layout/block/Config.js
(config
vs Config
).
Funny enough, the file is actually named config.coffee
, both in git and in my local copy.
Anyway, it looks like my last npm publish
for some reason contained a Config.js
instead of config.js
, and after that, well, all hell broke loose.
This wasn't caught by RenderKid's travis, because travis reads files from git and not from npm, and git's files were actually correct. The only way to know things didn't work was to re-run pretty-error's test-cases again on travis, and that didn't occur to me because RenderKid's test-cases were passing.
I just pushed a dumb new version with a fixed filename and now it looks like pretty-error's cases are passing now.
Why is renderkid beta included in what should(according to semver) be a stable release?
You are right. pretty-error is stable and it should depend on stable packages. But RenderKid has been stable ever since pretty-error became stable. I just didn't reflect that in its version string.
Ah, Gotcha! :-) On 17 Feb 2015 16:37, "Aria" notifications@github.com wrote:
Have seen this weird bug before. For some reason, the last prepublish script had compiled src/layout/block/config.coffee to src/layout/block/Config.js (config vs Config).
Funny enough, the file is actually named config.coffee, both in git and in my local copy.
Anyway, it looks like my last npm publish for some reason contained a Config.js instead of config.js, and after that, well, all hell broke loose.
This wasn't caught by RenderKid's travis, because travis reads files from git and not from npm, and git's files were actually correct. The only way to know things didn't work was to re-run pretty-error's test-cases again on travis, and that didn't occur to me because RenderKid's test-cases were passing.
I just pushed a dumb new version with a fixed filename and now it looks like pretty-error's cases are passing now.
Why is renderkid beta included in what should(according to semver) be a stable release? You are right. pretty-error is stable and it should depend on stable packages. But RenderKid has been stable ever since pretty-error became stable. I just didn't reflect that in its version string.
— Reply to this email directly or view it on GitHub https://github.com/AriaMinaei/pretty-error/issues/13#issuecomment-74699372 .
After reinstall the pretty-error module and upgrade renderkid from
0.2.0-beta.10
to0.2.0-beta.11
, we got the following error.Downgrade the renderkid module solve the problem.