Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to run script with npm run test and 'lodash' module not found error is thrown #1

Open
SabFloki opened this issue Aug 28, 2022 · 0 comments

Comments

@SabFloki
Copy link

Loved this integration with playwright , though we dont have inbuilt BDD-Cucumber integration with it as Cypress has.
I have done the npm install and packages are all installed. Attempted to do a dry run with npm run test with existing test you have written and seems like the 'Module not found for lodash - has.js keeps throwing'.

internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module './_baseHas'
Require stack:
- /Users/sab/udemy/PlaywrightBDDCucumber/Playwright_JS_BDD/node_modules/lodash/has.js
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant