You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating to 0.18 seemingly removed my node_modules folder for my project which I found odd. Attempting to run Cypress gave the error Error: Couldn't find preset "es2015" relative to directory...
After running npm i things seem to be working, but I'm not sure if this is because my library happens to include babel-preset-es2015. If my project did not rely on babel would this have worked?
This may be an oddity of the update and not a bug, but reporting in case it is a larger issue. For the moment, everything is ok on my end.
The text was updated successfully, but these errors were encountered:
We added babel support in 0.18.0, but we didn't intend to auto-load your .babelrc file. It seems babel does that by default. We intend to add babel configuration support via .babelrc or cypress.json in a future release, but haven't gotten into that yet, so we haven't tested anything regarding .babelrc out. I guess we get .babelrc support for free haha.
If your project didn't have a .babelrc, it should have just worked, because we include default settings for babel so everything works out of the box. Or if your node_modules had not been removed, you of course would not have needed to npm install to get things working.
Your node_modules directory being removed is the real concerning part. That should not be happening, so we'll be looking into that.
Cool.
I'm 100% sure that occurred in the update too.. I was running a gulp process using node_modules when I saw the cypress update. There were minutes between running gulp successfully and updating cypress and having my node_modules folder disappear :-) I don't have any other process that cleans out the dir.
Updating to 0.18 seemingly removed my node_modules folder for my project which I found odd. Attempting to run Cypress gave the error
Error: Couldn't find preset "es2015" relative to directory...
After running
npm i
things seem to be working, but I'm not sure if this is because my library happens to includebabel-preset-es2015
. If my project did not rely on babel would this have worked?This may be an oddity of the update and not a bug, but reporting in case it is a larger issue. For the moment, everything is ok on my end.
The text was updated successfully, but these errors were encountered: