Comments (3)
Error: Cannot find module 'source-map-support/register'
You need to install the source-map-support module:
In conjunction with the source-map-support module, which must be installed separately, this statement hooks into the v8 stack-trace API to translate call sites in the transpiled code back to their corresponding locations in the original code.
from babel-plugin-source-map-support.
ahh musta missed it. my bad. why not install that module as a dependency or at least indicate it as a peer?
from babel-plugin-source-map-support.
Babel runs at compile time, and the dependency is needed at runtime. In practice you'll usually be bundling source-map-support locally for development and disabling it for production, in which case it would make sense to peer-depend on it, but that's just a convention, not an intrinsic requirement of this plugin.
For example, a project could be compiled in one environment (source-map-support not needed), tested in a CI environment (source-map-support needed), and deployed to another (source-map-support not needed).
from babel-plugin-source-map-support.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-plugin-source-map-support.