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.

Codecept : Cannot find module '@babel/runtime/helpers/interopRequireDefault'

See original GitHub issue

Hello,

I try to simply run the tutorial “https://codecept.io/quickstart

$ npx codeceptjs init
npx: 1 installé(s) en 3.08s
Path must be a string. Received undefined
.....\node_modules\codeceptjs\bin\codecept.js
Cannot find module '@babel/runtime/helpers/interopRequireDefault'

i think one or more dependencies have been updated without ensuring compatibility.

Even if I use an old version of codecept I have the same error.

when i add the dependency ‘’@babel/runtime’ i have a new error :

$ npx codeceptjs init
npx: 1 installé(s) en 3.03s
Path must be a string. Received undefined
.....\node_modules\codeceptjs\bin\codecept.js
Cannot find module './utils'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

1reaction
zarashimacommented, Oct 21, 2019

For that error, I solve it using the suggested solution here: https://github.com/Codeception/CodeceptJS/issues/1976 npm install parse-function@5.2.11

0reactions
soufianetomasecommented, Oct 22, 2019

done !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'codeceptjs/helper' · Issue #48
I installed codecept globally as done in the quickstart. I use node 4.2.2. I use codecept 0.2.4.
Read more >
Cannot find module in CodeceptJS Docker container
I have a small Codecept project that runs fine in my local development machine. However, on our Jenkins pipeline server, I am trying...
Read more >
Unable to resolve module `@babel/runtime/helpers ...
Have a go and try: npm add @babel/runtime. Or upgrade babel runtime: "@babel/runtime": "7.0.0-beta.55".
Read more >
Plugins
Launch Allure server and see the report like on a screenshot above: ... if you fill field and input validation doesn't accept your...
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