-
Notifications
You must be signed in to change notification settings - Fork 122
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
v1.3.0 fails on require #42
Comments
This is a problem for me as well, the build folder is missing for cuid@1.3.0 Note: I caught this via CI I am sure lots of people are having this issue... |
Same problem. |
Another one here. |
📣 |
until paralleldrive/cuid#42 is resolved
As @mmckegg has demonstrated, the temporary fix is to peg cuid @ 1.2.4 in your "cuid": "1.2.4" I'm working on a more permanent fix right now. Sorry for the trouble! =) |
If anybody can beat me to it, I'm happy to take a PR, too. I'll watch this thread while I'm working. |
Thanks @ericelliott. |
Yeah. Looks like I forgot to check that the build was configured properly. My bad. Sorry everybody. Fix landing soon. =) |
Cool.. looks like the new build also breaks the API. Fixing that, too. Almost done folks! =) |
Just figuring out the browser tests, now. |
This is why you shouldn't try to code when you're sleep deprived. The long string of published updates was me trying to fix this problem when I should have been sleeping. I'm giving up for tonight. In the meantime, I've rolled back the build outputs to the previous known working version. In the interest of not breaking 100 projects again, I'll keep those known working versions there until I'm confident that the new build is working properly (complete with CI checks). If anybody wants to take a crack at getting the new build to work, you're welcome to. I'm trying to use Zuul to automate cross browser tests on Sauce Labs so we can be more confident about future changes. That's not working for me... The browser sessions work, but it doesn't seem to see any test results. 😴 |
fyi, old (good) builds are in |
ping @therealklanni |
Broken build error:
|
@ericelliott thanks for rolling back, cuid@1.3.8 is working for my browserify builds now. |
👍 |
I'll need to check what changed between 1.2.x and 1.3.0. Will be all over this tonight. |
@therealklanni What changed is that I published the modernization / modularization changes without double checking that all the testing was ready to go. There were no client-side tests at all, and I wasn't able to get the server-side import to work, either last night. I made some changes last night you may want to look at. Maybe you'll have better luck understanding what's going wrong with the builds. But this much is clear after the mess yesterday: We need to be testing the build results, not just the source modules. =) I'm going to insist that we keep the build in source control, too. I like the comfort of knowing there's always a known working build people can download from the repo. |
@ericelliott I'm looking into it now. It appears the browser tests just hang forever. Looking into it further it appears the Agreed, we should test the build. I didn't realize we weren't committing the builds, we definitely should be. |
It shouldn't be required with Zuul... Zuul's whole thing is "we do this sauce connection/reporting stuff for you." sauceReporter was my backup plan if we can't get Zuul to work. We'll need to report manually with the REST API if we can't get it working. :) |
@ericelliott OK, well maybe that wasn't the problem. In any case, I moved on to looking into the build issue. I just figured out (part of) the issue with the server build at least. The webpack config wasn't specifying the library or libraryTarget. Adding those for the final case of the ternary there fixed at least part of the issue. Doing a little more digging now. |
BTW, if we do have to use the There must be a way if zuul ever worked for anybody, but I didn't find it last night. |
Looks like I resolved the issue with the server build at least. Need to publish a fix to |
@ericelliott However, we have another issue with testing the build instead of the unbuilt code. When Webpack builds the source, the |
@ericelliott we have a good server build now, pending your review. I'll move on to working on the client build next. |
Anybody else want to download the latest and give it a test? This isn't published on npm yet, so you'll need to wire it up manually. |
@therealklanni What's the next step? |
@ericelliott I think I was working on the client build, but I've been getting pulled in other directions. I'll check to see where I was at with that. |
=) |
Sorry, haven't gotten around to it yet. It's the last 2 weeks of the bootcamp, so my students need my full attention, and trying to plan Thanksgiving 😩 ... I haven't forgotten about it, though. |
Looks like all that needs to be done is to write browser tests for browser-fingerprint |
ping @therealklanni |
Should be fixed. Reopen if you still have trouble. |
The latest release/tag and npm package, v1.3.0, has in
package.json
"main": "./build/server/cuid.js",
but includes no folderbuild
.The package.json also still references the
dist
folder, which was included in v1.2.4, but is not in v1.3.0.The text was updated successfully, but these errors were encountered: