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
{{ message }}
Repository navigation
Error: Can't walk dependency graph: Cannot find module '..' #177
I had followed the instruction and installed the jsonpath, below is the jsonpath folder under node_modules:
Then I import the jsonpath and used the query function as below:
Then when run the test, I got below error:
Error: Can't walk dependency graph: Cannot find module '..' from '/Users/jamiezhai/Automation/cypress-e2e-test/node_modules/jsonpath/jsonpath.js'
required by /Users/jamiezhai/Automation/cypress-e2e-test/node_modules/jsonpath/jsonpath.js
Pls can anyone help/suggest?
Thanks heaps!
I remember seeing something similar and discovered that this issue happens when the browser entry point (in package.json) is being used. Using the main entry point fixes it for me.
Activity
EarthyOrange commentedon Sep 23, 2022
I remember seeing something similar and discovered that this issue happens when the
browserentry point (in package.json) is being used. Using themainentry point fixes it for me.