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.

Module parse failed: Unexpected token

See original GitHub issue

Describe the bug

Module parse failed: Unexpected token (3:55)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
import _regeneratorRuntime from"/data_b/work/gitlab-runner/builds/622b053b/0/lala/test/node_modules/babel-preset-react-app/node_modules/@babel/runtime/regenerator";import _objectSpread from"/data_b/work/gitlab-runner/builds/622b053b/...

occur a fatal error when building production version, but development correctly; 😦 …

it seems to generated code of babel has error, between ‘from’ and ‘"/data_b/work/gitlab-runn’ in error message haven’t blank???

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:11
  • Comments:6

github_iconTop GitHub Comments

3reactions
tep-plcommented, Aug 5, 2021

+1. we’re facing the same issue for few hours as well, effectively getting CI builds blocked

0reactions
stale[bot]commented, Jan 9, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module parse failed: Unexpected token - Stack Overflow
Apparently it happened because you have two module properties in the webpack config object. Given JS objects can only hold one value per...
Read more >
Module parse failed: Unexpected token. You may ... - GitHub
This is a library build issue. We moved to ts3.8 without thinking about optional chaining transpiling. Here seems like a correct way to...
Read more >
Odyssey Lift-off I: "Module parse failed: Unexpected token" Error
Hello, I am on the “useQuery hook” step attempting to implement the grid. Here is my code that I think is problematic: const...
Read more >
module parse failed: unexpected token (1:0) you may need an ...
Module parse failed: Unexpected token - Stack Overflow ... 1 Answer. Apparently it happened because you have two module properties in the webpack...
Read more >
Module parse failed: Unexpected token (1:0) - Laracasts
Hello , After running npm run watch I see this error : ERROR in ./resources/js/components/irp/admin/EditGroup.vue 1:0 Module parse failed: Unexpected token ...
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