Skip to content
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

Not able to run my tests on cypress on Windows. #14482

Closed
LorenzoCervi opened this issue Jan 11, 2021 · 1 comment
Closed

Not able to run my tests on cypress on Windows. #14482

LorenzoCervi opened this issue Jan 11, 2021 · 1 comment

Comments

@LorenzoCervi
Copy link

Hi!
I'm trying using cypress on Windows. I downloaded the software from official websites, it starts correctly with double click on app.
Once I opened Cypress, I drag my project folder, that has a different path from Cypress folder, into cypress test runner.
Then I try to run a test file that cypress finds correctly from my project folder, but it shows me this :

Error: Webpack Compilation Error
./cypress/integration/edit_spec.js
Module build failed (from C:/Users/asus/Downloads/Cypress/resources/app/packages/server/node_modules/babel-loader/lib/index.js):
Error: Using babel-preset-razzle requires that you specify NODE_ENV or BABEL_ENV environment variables. Valid values are "development", "test", and "production". Instead, received: undefined.

But in my package.json I have :
"scripts": { "cypress:open": "NODE_ENV=production CYPRESS_API=plone CYPRESS_NO_COMMAND=0 cypress open"}
but it still not working.

Does anyone have any idea?

@jennifer-shehane
Copy link
Member

Duplicate of #6755

@jennifer-shehane jennifer-shehane marked this as a duplicate of #6755 Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants