BennyFranco / ng-editable-table

An editable table for angular
16 stars 6 forks source link

EditableTableModule Issue #2

Open danielnajera opened 7 years ago

danielnajera commented 7 years ago

I'm running Angular 4.1.3 and Typescript 2.3.2 getting the following error when attempting to run

Exception: Call to Node module failed with error: Error: Unexpected value 'EditableTableModule' imported by the module 'AppModule'. Please add a @NgModule annotation. at new Error (native)

BennyFranco commented 7 years ago

I see this before in another library, the problem is the version of angular, I'll update the version soon. Greetings!

RakheeMenon commented 6 years ago

Hi BennyFranco!!! It would be of great help if you would have updated the version as I also wanted an editable table in my application. Regards, Rakhee

aanaedu commented 6 years ago

Hello guys,

I found this helpful for this issue.

Modify your tsconfig.json and add this block inside

{
  "compilerOptions": {
    ...
    "baseUrl": "./",
    "paths": {
      "@angular/*": [
        "../node_modules/@angular/*"
     ]
    }
  }
}

For more information see answer on Stackoverflow

ahmedsaidzahran commented 6 years ago

Please importing the Module give me an error. As I am using SystemJs with .net framework.

Error loading /node_modules/ng-editable-table/editable-table/editable-table.module.js as "ng-editable-table/editable-table/editable-table.module"

ahmedsaidzahran commented 6 years ago

what is the SystemJS for ng-editable-table