Skip to content

Uncaught ReferenceError: exports is not defined at Angular-csv.js:2 / Angular 8.2.3 #44

@derrobin

Description

@derrobin

Hi Everyone,

I use this library with angular-8.2.3 and this is working fine, but i get this script-error on app bootstrapping:

Uncaught ReferenceError: exports is not defined at Angular-csv.js:2

I was importing this Library over angular.json:

{
  "projects": {
    ..
    "architect": {
      ..
      "build": {
        ..
        "scripts": [
          ..
          "node_modules/angular-csv-ext/dist/Angular-csv.js"
        ]
      }
    }
  }
}

Did not found a easy solution for that until now :-(

Any recommendations?

Thanks,
Robin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions