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.

babel/polyfill not found

See original GitHub issue

After calling csscomb, there is an error message.

$ csscomb
module.js:442
    throw err;
    ^

Error: Cannot find module 'babel/polyfill'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:6:3)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
bergwerfcommented, Jul 19, 2016

*Use sudo npm install csscomb@3.1.7 -g to get the current stable version

1reaction
timoxleycommented, Jul 26, 2016

@tonyganch: The current published version of csscomb (4.0.0-alpha) is broken due to a missing dependency in csscomb-core. Can you please npm deprecate these and npm publish new, fixed versions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I install the babel-polyfill library? - Stack Overflow
In this answer the babel-polyfill package is listed under 'devDependencies'. Doing this will result in babel-polyfill not included in deployment ...
Read more >
Spurious errors: import '@babel/polyfill' was not found. #657
I'm submitting a feature request Webpack Version: 4 Babel Core Version: 7 Babel ... Spurious errors: import '@babel/polyfill' was not found.
Read more >
babel/polyfill
Babel includes a polyfill that includes a custom regenerator runtime and core-js. This will emulate a full ES2015+ environment (no < Stage 4...
Read more >
@babel/polyfill - npm
Provides polyfills necessary for a full ES2015+ environment. Latest version: 7.12.1, last published: 2 years ago.
Read more >
How do I install the babel-polyfill library | Edureka Community
I just started to use Babel to compile my ES6 javascript code into ES5. When I start to use Promises it looks like...
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