I'm new to git. I just git cloned this library and am trying to run the code in this folder. I know that it uses Javascript so I tried using npm start
but it gave me a npm ERR! missing script: start
error. How do I run it?
Asked
Active
Viewed 1,435 times
-1

JohnDoeVsJoeSchmoe
- 671
- 2
- 8
- 25
-
You've to follow the `Developing` section on the repo https://github.com/esnet/react-timeseries-charts#developing – A l w a y s S u n n y Jul 10 '18 at 17:23
-
It's not a program, it's a library. You can't run it. – Jeremy Jul 10 '18 at 17:23
-
@Jeremy I don't understand. Isn't that an example program? The `index.js` file in `baselines`? – JohnDoeVsJoeSchmoe Jul 10 '18 at 17:25
-
I think the question is whether you're trying to make changes to the library or simply integrate the library into your project – iridescent Jul 10 '18 at 17:27
-
A library is usually a set of functions that you can use within a program. It is not a program itself, although that term is a bit loose – Guillaume Jul 10 '18 at 17:27
-
You should use the [Getting Started guide](http://software.es.net/react-timeseries-charts/#/guide/start) on their docs. You are meant to install the package via npm and not cloning it using git. You would only clone the repo if you intend on modifying their code. – Chase DeAnda Jul 10 '18 at 17:37
1 Answers
1
You should use the Getting Started guide on their docs. You are meant to install the package via npm and not cloning it using git. You would only clone the repo if you intend on modifying their code.
2.1 How to Install This charts library is intended to be installed with npm and the built into your project with a tool like Webpack. It expects React to be present, as well as our TimeSeries abstraction library, pond.js. More on this below.
To install:
npm install react-timeseries-charts pondjs --save

Chase DeAnda
- 15,963
- 3
- 30
- 41