Error on install (ng add....)

2 posts, 0 answers
  1. Tim
    Tim avatar
    16 posts
    Member since:
    Mar 2012

    Posted 21 Jan 2019 Link to this post

    Getting an error during install via 'ng add @progress/kendo-angular-editor':

     

    File node_modules/@progress/kendo-angular-/package.json does not exist.

     

    Here is the ng add trace:

     

    ng add @progress/kendo-angular-editor

    Installing packages for tooling via npm.
    npm WARN @ngtools/webpack@7.1.4 requires a peer of typescript@>=2.4.0 < 3.2 but none is installed. You must install peer dependencies yourself.
    npm WARN @progress/kendo-angular-editor@0.2.0 requires a peer of @angular/common@4 - 6 but none is installed. You must install peer dependencies yourself.
    npm WARN @progress/kendo-angular-editor@0.2.0 requires a peer of @angular/core@4 - 6 but none is installed. You must install peer dependencies yourself.
    npm WARN @progress/kendo-angular-editor@0.2.0 requires a peer of @angular/forms@4 - 6 but none is installed. You must install peer dependencies yourself.
    npm WARN @progress/kendo-angular-editor@0.2.0 requires a peer of @progress/kendo-angular-dialog@^3.9.0 but none is installed. You must install peer dependencies yourself.
    npm WARN @progress/kendo-angular-editor@0.2.0 requires a peer of @progress/kendo-angular-toolbar@^0.3.0 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    + @progress/kendo-angular-editor@0.2.0
    added 15 packages from 2 contributors and audited 40334 packages in 15.286s
    found 1 high severity vulnerability
      run `npm audit fix` to fix them, or `npm audit` for details
    Installed packages for tooling via npm.
    File node_modules/@progress/kendo-angular-/package.json does not exist.

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1285 posts

    Posted 22 Jan 2019 Link to this post

    Hi Tim,

    Thank you for bringing this issue to our attention. Installing the Editor and its dependencies via schematics is indeed not working properly. I logged an issue to our GitHub portal that you can track here:

    https://github.com/telerik/kendo-angular/issues/2034

    We will try to resolve this problem as soon as possible, and I apologize for any inconvenience caused.

    Meanwhile, please follow the manual installation approach, outlined here (all dependencies like Dialog, DropDowns, Toolbar, etc. need to be installed too):

    https://www.telerik.com/kendo-angular-ui-develop/components/editor/#toc-manual-setup

    @angular/common
    @angular/core
    @angular/forms
    rxjs
    rxjs-compat
    @progress/kendo-angular-dialog
    @progress/kendo-angular-dropdowns
    @progress/kendo-angular-toolbar
    @progress/kendo-angular-l10n

    The following RxJS-related issue also should be kept in mind:

    https://github.com/telerik/kendo-angular/issues/1962

    I also updated your Telerik points for reporting the issue.

    Regards,
    Dimiter Topalov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top