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.

1.20.0 Babel issue

See original GitHub issue

I’m running the usual the npm storybook task setup in my package json but getting the following:

React Storybook started on => http://localhost:9001/

webpack built bcc7635039da3b503b29 in 502ms
Hash: bcc7635039da3b503b29
Version: webpack 1.13.0
Time: 502ms
            Asset    Size  Chunks             Chunk Names
preview.bundle.js  208 kB       0  [emitted]  preview
manager.bundle.js  621 kB       1  [emitted]  manager
chunk    {0} preview.bundle.js (preview) 73.1 kB [rendered]
    [0] multi preview 40 bytes {0} [built] [1 error]
    [1] ./~/html-entities/lib/html5-entities.js 49 kB {0} [built]
    [3] ./~/ansi-html/index.js 4.02 kB {0} [built]
    [4] ./~/ansi-regex/index.js 135 bytes {0} [built]
    [5] ./~/html-entities/index.js 231 bytes {0} [built]
    [6] ./~/html-entities/lib/html4-entities.js 6.57 kB {0} [built]
    [7] ./~/html-entities/lib/xml-entities.js 2.98 kB {0} [built]
    [8] (webpack)-hot-middleware/client-overlay.js 1.73 kB {0} [built]
    [9] (webpack)-hot-middleware/client.js 4.18 kB {0} [built]
   [10] (webpack)-hot-middleware/~/strip-ansi/index.js 161 bytes {0} [built]
   [11] (webpack)-hot-middleware/process-update.js 3.88 kB {0} [built]
   [12] (webpack)/buildin/module.js 251 bytes {0} [built]
chunk    {1} manager.bundle.js (manager) 251 kB [rendered]
    [0] multi manager 28 bytes {1} [built]
    [2] ./~/@kadira/storybook/dist/manager.js 251 kB {1} [built]

ERROR in multi preview
Module not found: Error: Cannot resolve module 'babel' in /Users/ccheshire/Development/career-profile/app-job-application
 @ multi preview

I’m running node 5.5.0 and npm 3.8.8.

Any thoughts?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cjcheshirecommented, May 13, 2016

My severe apologies. It’s all good to close. Thank you for you help.

1reaction
arunodacommented, May 6, 2016

Guys, yep this is an issue if the project does not have some babel packages installed by default. Most of the node project have it, but projects like Meteor won’t have them.

So, I fixed this with v1.22.1. Give it a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7.20.0 Released: Deno target and TypeScript 4.9 - Babel.js
We just published Babel 7.20.0! This release includes support for TypeScript 4.9, and parser support for the Import Reflection and Explicit ...
Read more >
Jest error, Requires Babel "^7.0.0-0", but was loaded with ...
I'm on Jest v26 and still seeing this error. I suspect it's something else. (And in my case, it's a Vue project instead...
Read more >
[#CALCITE-3022] Babel: Various SQL parsing issues - ASF JIRA
Babel : Various SQL parsing issues. Status: Assignee: Priority: Resolution: Closed. Unassigned. Major. Fixed. More. Description.
Read more >
Upgrade CX - CX Components - Cox Automotive
Refer to the Babel release notes for a list of changes. ... If you encounter build issues that include linting errors, please refer...
Read more >
Swissquote Preset for Babel - npm
This package includes the Babel preset used by Crafty.. Latest version: 1.20.0, last published: a month ago.
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