You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Dominik Franek (JIRA)" <ji...@apache.org> on 2019/01/21 22:55:00 UTC

[jira] [Commented] (TINKERPOP-2137) Gremlin Javascript can't be used in Angular applications

    [ https://issues.apache.org/jira/browse/TINKERPOP-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748258#comment-16748258 ] 

Dominik Franek commented on TINKERPOP-2137:
-------------------------------------------

I am now looking at the code and found out, that gremlin javascript uses "ws": "^3.0.0", however there is already version 6 available, which might solve some of other issues which would occure (e.g. deprecated crypto npm package, because it is now build-in Node module.

> Gremlin Javascript can't be used in Angular applications
> --------------------------------------------------------
>
>                 Key: TINKERPOP-2137
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2137
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: javascript
>    Affects Versions: 3.4.0
>         Environment: "@angular/cdk": "^7.2.1",
>            Reporter: Dominik Franek
>            Priority: Major
>
> If you try to install gremlin using
> {code:java}
> ng add gremlin{code}
> it gets you:
> _The package that you are trying to add does not support schematics. You can try using a different version of the package or contact the package author to add ng-add support._
> If you try using
> {code:java}
> npm i gremlin{code}
> it is installed, however the gremlin package can't be used in Angular Application. Is there any way to fix it to work for ng-add? If not, maybe the documentation needs an update of what Javascript environments are supported, because our project intended to use Gremlin (we tried using Java, that Gremlin is perfect... now when developing we found out that it is not possible in Angular :) ).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)