question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Most NODE_OPTIONs are not supported in packaged apps" when running cypress component testing

See original GitHub issue

Current behavior

When I run npm run cypress:open-ct (or run-ct), I get an error [43901:1203/085557.424470:ERROR:node_bindings.cc(276)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.

This might be an Electron issue and it doesn’t seem to affect behaviour for us.

Desired behavior

No error to be thrown

Test code to reproduce

Run the Cypress component tester

Cypress Version

9.1.0

Other

MacOS 11.6 Node v16.0.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:7
  • Comments:20

github_iconTop GitHub Comments

8reactions
zigang93commented, Jan 21, 2022

I am using yarn pnp … encounter this issue

4reactions
dfdumaresqcommented, Dec 21, 2021

Same for me.

Cypress Version

  • Cypress 9.1.1.

Other

  • MacOS 11.6
  • Node v14.17.3

Running under VSCode.

  • Version: 1.63.0 (Universal)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Displaying Most NODE_OPTIONs are not supported in ...
This issue comes up after I installed cypress version 9.4.1. The code is running fine but every time I run the code this...
Read more >
node: studio is not supported in node_options - You.com
cypress -io/cypress"Most NODE_OPTIONs are not supported in packaged apps" when running cypress component testing#19229. Created about 1 year ago.
Read more >
Component Testing FAQ | Cypress Documentation
General Questions What is component testing? Many modern front-end UI libraries encourage writing applications using small, reusable building blocks.
Read more >
Changelog - Cypress Documentation
Users working in React Component Testing projects can now generate a ... running a cypress command (e.g. cypress open ) to when the...
Read more >
task | Cypress Documentation
Execute code in Node via the task plugin event. Anti-Pattern We do not recommend starting a web server using cy.task(). Read about best...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found