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:23:00 UTC

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

Dominik Franek created TINKERPOP-2137:
-----------------------------------------

             Summary: 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


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)