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
When I run the command npx cypress open, I am getting the following error:
Error: Can't walk dependency graph: ENOENT: no such file or directory, lstat '/Users/test/Git/UIAutomation/qa-ui-automation/pt/process'
required by /Users/test/Git/UIAutomation/qa-ui-automation/pt/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
When I run the command npx cypress open, I am getting the following error:
Error: Can't walk dependency graph: ENOENT: no such file or directory, lstat '/Users/test/Git/UIAutomation/qa-ui-automation/pt/process'
required by /Users/test/Git/UIAutomation/qa-ui-automation/pt/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
I tried changing this: const process_1 = require("process"); to const process_1 = require("process/"); - Added / as suggested here: browserify/browserify#1986
After making the change, I got a similar issue for another library aws-crt.
I installed that library and made a similar change in its index.js file which then landed me to this error: #3828
It will be great if someone can provide some pointers on what's going wrong
Expected Behavior
Cypress test should be able to identify the import and run the test
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered:
So, it seems like the cypress-tags library is causing this issue.
After removing the cypress-tags library, I was able to successfully run the tests.
This library also intereferred with Report Portal autoMerge feature. I was encountering the following error: reportportal/agent-js-cypress#175
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
I am running UI tests using Cypress 13.3.0
I am using the following AWS SDK libraries:
I have a test which imports the following AWS libraries:
When I run the command
npx cypress open
, I am getting the following error:package.json
SDK version number
@aws-sdk/[email protected], @aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node -v v18.18.0
Reproduction Steps
Just import any AWS related libraries to any Cypress spec file. For example:
Observed Behavior
When I run the command
npx cypress open
, I am getting the following error:I tried changing this:
const process_1 = require("process");
toconst process_1 = require("process/");
- Added/
as suggested here: browserify/browserify#1986After making the change, I got a similar issue for another library
aws-crt
.I installed that library and made a similar change in its
index.js
file which then landed me to this error: #3828It will be great if someone can provide some pointers on what's going wrong
Expected Behavior
Cypress test should be able to identify the import and run the test
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: