Errors in code when using Neovis.js with angular2+ template

performance
cypher
operations

(Sucheta) #1

Hi,

Can any sort of help be provided to this post -

I am getting errors like -

ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18047): Property 'node' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18061): Property 'edge' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18075): Property 'graph' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18094): Operator '!=' cannot be applied to types '"}"' and '"{"'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18150): Property 'node' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18164): Property 'edge' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18178): Property 'graph' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18193): Property 'parent' does not exist on type '{}'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18706): Operator '!==' cannot be applied to types '""' and '"["'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18714): Operator '!=' cannot be applied to types '"]"' and '"["'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18792): Operator '!=' cannot be applied to types '"="' and '"["'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18912): Operator '==' cannot be applied to types '","' and '"["'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,18927): Operator '!=' cannot be applied to types '"]"' and '"["'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,23119): Property 'emit' does not exist on type '{ active: boolean; dom: { [x: string]: any; container: any; }; hammer: any; onClick: (i: any) => ...'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,23139): Property 'emit' does not exist on type '{ active: boolean; dom: { [x: string]: any; container: any; }; hammer: any; onClick: (i: any) => ...'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,23384): Property 'emit' does not exist on type '{ active: boolean; dom: { [x: string]: any; container: any; }; hammer: any; onClick: (i: any) => ...'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35253,23404): Property 'emit' does not exist on type '{ active: boolean; dom: { [x: string]: any; container: any; }; hammer: any; onClick: (i: any) => ...'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35295,7): Property 'i' does not exist on type 'any'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35345,20): Cannot find name 'unescape'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35798,12): Cannot find name 'DEBUG'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (35798,37): Cannot find name 'DEBUG'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36039,72): Cannot find name 'unescape'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36336,34): Property 'encrypted' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36337,30): Property 'trust' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36338,131): Property 'server_url' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36338,332): Property 'server_user' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36338,431): Property 'server_password' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36339,32): Property 'initial_cypher' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36344,58): Property 'container_id' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36369,57): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36369,80): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36369,110): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36370,52): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36370,75): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36370,105): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36371,55): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36371,78): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36371,108): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36372,57): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36372,80): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36372,110): Property 'labels' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36460,54): Property 'relationships' does not exist on type'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36460,84): Property 'relationships' does not exist on type'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36460,122): Property 'relationships' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36461,55): Property 'relationships' does not exist on type'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36461,85): Property 'relationships' does not exist on type'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36461,123): Property 'relationships' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36612,56): Property 'arrows' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36619,51): Property 'hierarchical' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36620,54): Property 'hierarchical_sort_method' does not exist on type 'object'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36647,118): Property 'values' does not exist on type 'ObjectConstructor'.
ERROR in /home/dell/Downloads/Neo4j/Project/Neo4j-5/AdaniProd/src/assets/neovis.js (36648,118): Property 'values' does not exist on type 'ObjectConstructor'.


(Michael Hunger) #2

Question was answered on SO


(Sucheta) #3

I didn't get you ?

Can you also please look into -

and

Thank you for your consideration