Comments (5)
Did you run npm install
fresh or is this in an existing vizceral directory? If it's a directory that has already been used, make sure you run npm update
as well.
Keep in mind that this module is used regularly at each published version so transpiling does work in general. If something is not working specifically for you, please try to include a lot more detail (node version, npm version, OS, make sure you're testing from a clean clone and install...)
from vizceral.
Just ran:
npm install [email protected] && cd node_modules/vizceral && npm install && npm run build
The node_modules were deleted prior. I even ran an npm update
and repeated the install and build stages and am receiving the same aforementioned error.
from vizceral.
Ah, you're trying to run scripts from inside the node_modules directory. That's a workflow I have never run across. The match to run babel was a regex on node_modules, so it was never being transpiled.
from vizceral.
Nevermind, just realized that this fixes the one error seen when trying to transpile inside the node_modules directory, but it breaks the output. Reverted this change. We don't support running npm run build inside of a node_modules directory. Use git clone
to get the source and build if you need to build it, and npm link
if you want to use your own modified vizceral.
from vizceral.
@jrsquared thank you. I was running:
npm install vizceral
cd node_modules
cd vizceral
npm install && npm run build
Hopefully others won't make the same mistake. I put a BUILD.md inside my own custom vizceral build with this note. Essentially what I'm doing is putting the transpiled source into a lib/vizceral and that's all being distributed by Gulp and served up as a single main.min.js file to my Angular UI.
from vizceral.
Related Issues (20)
- RegionNode style HOT 2
- memory leak?
- Allow embedding images/HTML in notices HOT 2
- Next in timeline? HOT 1
- Problem of calling updateData with same trafficData HOT 1
- Curved connections between nodes HOT 3
- problem HOT 2
- 'TypeError: Cannot read property 'showLabels' of undefined' when set showLabels to false HOT 2
- vizceral.js:formatted:37091 Uncaught TypeError: r.setValue is not a function : Upgrading to 4.7.0 version. HOT 3
- Problem with Dockerfile with a create-react-app and the Vizceral
- Delete merged branches
- Install fails with [email protected] HOT 1
- Class Vizceral can't accept external layout HOT 1
- Notices don't show
- Vizceral doesn't show live metrics
- Which tool is Netflix using now? HOT 4
- Next step after the installation of Vizceral HOT 2
- Request Dynamic font size for label
- how to change connection notice icon?
- How traffic data is collected HOT 1
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 vizceral.