Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed compile #54

Closed
1 task
neway02 opened this issue Aug 27, 2018 · 13 comments
Closed
1 task

failed compile #54

neway02 opened this issue Aug 27, 2018 · 13 comments

Comments

@neway02
Copy link

neway02 commented Aug 27, 2018

Checklist

  • This issue is NOT related to the charting library itself

Describe the bug

Sorry for english. I got the library from the official site. And I wanted to run an assembly example from this repository. But this causes an error.
The first thing the debugger shows is on "line1: define is not define". Then I tried to fix it but without success. I just ran the assembly without this string. but eventually got even more errors. What's wrong?

To Reproduce

Steps to reproduce the behavior:

  1. Clone the repo
  2. Put library into /public and /src, and datafeed into /public
  3. npm install
  4. npm start

Expected behavior

image
image
image
image

any ideas?

@timocov
Copy link
Contributor

timocov commented Aug 27, 2018

The first thing the debugger shows is on "line1: define is not define". Then I tried to fix it but without success.

Did you try to find the similar issues?

Put library into /public and /src, and datafeed into /public

What example do you use? React?

@timocov timocov closed this as completed Aug 27, 2018
@neway02
Copy link
Author

neway02 commented Aug 27, 2018

Thanks for the quick answer
of course, I spent a few days reading and trying out different options. I'm new to the graphics library.
as an example I added a babel, edit code. Yes, I use the example with react-javascript

image

npm 6.3.0

@neway02
Copy link
Author

neway02 commented Aug 27, 2018

maybe you downloaded the example with react and you all works well?

@timocov
Copy link
Contributor

timocov commented Aug 27, 2018

Yes, it works well.

Can you please tell me where did you get the charting library?

@neway02
Copy link
Author

neway02 commented Aug 27, 2018

image

here I made a request

@neway02
Copy link
Author

neway02 commented Aug 27, 2018

can you give your version of the library?

@timocov
Copy link
Contributor

timocov commented Aug 27, 2018

Please use English. With what username you request an access?

@neway02
Copy link
Author

neway02 commented Aug 27, 2018

webdevepru
this is github username

@neway02
Copy link
Author

neway02 commented Aug 27, 2018

Sorry for taking your time and thanks.
it seems I have found a solution

@magzak
Copy link

magzak commented Sep 3, 2018

I have the same problem, what solution did you find?

I just cloned the repos and followed the instructions for react-javascript and get the following error after npm start:

Failed to compile.

./src/charting_library/charting_library.min.js
Line 1: 'define' is not defined no-undef
Line 1: 'define' is not defined no-undef

@magzak
Copy link

magzak commented Sep 3, 2018

@NeWay2002 Can you please let me know how you solved this?

@SavosRU
Copy link

SavosRU commented Apr 14, 2019

@NeWay2002 Can you please let ME TOO know how you solved this?

@timocov
Copy link
Contributor

timocov commented Apr 30, 2019

#36 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants