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
1.6.2 tests don't start (project create with nwb) #77
Comments
Requiring a CJS module should never produce a thenable; somehow it seems like it’s loading the ESM version instead, but it shouldn’t be. (note this seems to be an issue with reflect.getprototypeof, not with is-equal directly) Im not familiar with nwb, what is it? |
Are you perhaps letting webpack transpile things in node_modules? If so, a) that's best avoided, and b) it's doing it wrong. |
Hi, thank you for your time. nwb is this project: https://github.com/insin/nwb . It generates an npm project with a complete build system. I use it to make react libraries because create-react-app doesn't allow to build libraries easily. Unfortunately, I used nwb because I don't have enough knowledge to setup a robust build system myself, so I can't answer your questions :( and it seems like nwb is not as robust as I would like it to be. You can reproduce my issue if you are interested. I used:
If you think this is not a problem with your project and are not interested, feel free to close the issue. thanks again |
You're not supposed to build libraries :-) that's the library author's job. I believe v1.0.1 of |
I, I confirm that reflect.getprototypeof v1.0.1 fixes the problem. Thanks ! Now generating a new nwb project and running the tests work out of the box. |
There's definitely still an underlying bug in nwb; you may want to file it and clarify which versions of |
Hi, I created a react project using nwb. After upgrading is-equal from 1.6.1 to 1.6.2, my tests now fail without running anything with:
reverting to 1.6.1 works for me, but I would like to keep my dependencies up to date. Do you have any idea of what might be happening ? Looking at the given lines in node modules, when I add a console.log to what getPolyfill is, I get:
node_modules/reflect.getprototypeof/index.js
var getPolyfill = require('./polyfill'); + console.log(getPolyfill);
Not sure what to do from there.
Thanks in advance.
The text was updated successfully, but these errors were encountered: