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

v10.1.0 node_modules/@cypress-audit/lighthouse/index.d.ts' is not a module.ts(2306)` #166

Closed
dante01yoon opened this issue Jun 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@dante01yoon
Copy link

dante01yoon commented Jun 17, 2022

What does not work?
A clear and concise description of what the bug is.

Hi, I'm using v10.1.0, typescript v4.7.2
from v10, all the environment config settings are done in cypress.config.ts, which means I import all modules of cypress-audit in cypress.config.ts.

it gives me ts error.
스크린샷 2022-06-17 오후 3 27 29

the error message is
front-e2e-test/node_modules/@cypress-audit/lighthouse/index.d.ts' is not a module.ts(2306)

I',m not sure problem occurs from index.d.ts under @cypress-audit/lighthouse,
스크린샷 2022-06-17 오후 3 32 45

How to reproduce?
import lighthouse in cypress.config.ts

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots / Animated Gifs
Add screenshots or screen recordings to help explain your problem.

Environment (please complete the following information):

  • OS: mac os
  • Chrome version: vscode, not chrome
  • Cypress version: v10.1.0

Any other information that may help fixing the issue?
Add any other context about the problem here.

@dante01yoon dante01yoon added the bug Something isn't working label Jun 17, 2022
@mfrachet
Copy link
Owner

Closing, seems duplicate of #162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants