ngx-segment-analytics icon indicating copy to clipboard operation
ngx-segment-analytics copied to clipboard

Module Name Error In Package JSON

Open rudineymc opened this issue 5 years ago • 3 comments

Bug Report or Feature Request (mark with an x)

  • [x] bug report -> please search issues before submitting
  • [ ] feature request

OS and Version?

MacOS Catalina

Generator Version

Tools Version

Node v10.16.0 Npm v6.9.0

Targeted Angular version

Angular 8

Repro steps.

  • Enable Ivy compiler for angular 8
  • Run the project with this dependency

The log given by the failure.

ngx-segment-analytics.js module not found

Desired functionality.

This library should compile with this compiler.

Mention any other details that might be useful.

The reason of this error is because in the main definition file, you're importing the implementation from index.js and in package.json you're adding that the module implementation is called ngx-segment-analytics.js. Either index.js filename or module ngx-segment-analytics.js needs to be adjusted to the correct one

rudineymc avatar Nov 18 '19 20:11 rudineymc