Hello:
Recently I tried plug-in development and encountered the following problems:
Environment:
grafana6.6.1
node12.x
pieChart official latest version
Run:
use the official plug-in to develop the recommended pieChart. When copying into the plug-in, change the name and id, use the plug-in, and encounter error:
backend.js:6 Error loading panel plugin: grafana-piechartdemo-panel SyntaxError: Unexpected token '<'
at eval ()
at Re (system.js:4)
at system.js:4
at j (system.js:4)
at O (system.js:4)
at k (system.js:4)
at system.js:4
As shown in the following figure:
Looked at the official documents, compared with the official available plug-in, I found that the code is consistent with everything, I don't understand the development of the plug-in appeared this problem and the cause, Can someone give me a hand, thank you thank you ~~~
Hello: Recently I tried plug-in development and encountered the following problems:
Environment: grafana6.6.1 node12.x pieChart official latest version
Run: use the official plug-in to develop the recommended pieChart. When copying into the plug-in, change the name and id, use the plug-in, and encounter error:
backend.js:6 Error loading panel plugin: grafana-piechartdemo-panel SyntaxError: Unexpected token '<' at eval ()
at Re (system.js:4)
at system.js:4
at j (system.js:4)
at O (system.js:4)
at k (system.js:4)
at system.js:4
As shown in the following figure:![image](https://user-images.githubusercontent.com/31209616/79529539-8489cc00-809f-11ea-8395-2c6f589d52fe.png)
Looked at the official documents, compared with the official available plug-in, I found that the code is consistent with everything, I don't understand the development of the plug-in appeared this problem and the cause, Can someone give me a hand, thank you thank you ~~~