Open qiluo opened 7 years ago
Same here. I tried doing this in my .tsconfig
"include": [
"src/**/*.ts",
"node_modules/ng2-kw-gauge/index.ts"
],
but still getting the error.
Any luck on resolving this error message? I'm getting it as well.
I have the same issue as well. When I try to import GaugeModule into my module.ts, same report. Have been trying to figure out why the .js isn't compiling.
Runtime Error
Module build failed: Error: ENOENT: no such file or directory, open 'myapp\node_modules\ng-gauge\index.js'
Ionic Framework: 3.5.0
Ionic App Scripts: 1.3.12
Angular Core: 4.2.5
Angular Compiler CLI: 4.2.5
Node: 7.5.0
OS Platform: Windows 7
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Hi,
Sorry to re open the thread but did anyone found the solution?
Thanks in advance.
same here.
Ionic 3 Project
Hi ! you may already be doing this, but I am going to mention it nonetheless for others like myself who might be confused.. seems like you are having something in you component file on the lines of -
import {GaugeModule} from 'myapp\node_modules\ng-gauge\index.js'
Once you npm install AND save the package, you'll be able to import it just by this import { GaugeModule } from 'ng-gauge' and import { GaugeSegment, GaugeLabel } from 'ng-gauge'
To those using Angular CLI, after you import the GaugeModule in your app.module.ts (using :import { GaugeModule } from 'ng-gauge') you have to mention it in the "imports" Array under "@ng-module{ }".
Any news on this issue. I am getting this error, too.
Ionic Framework: 3.6.1
Ionic App Scripts: 2.1.4
Angular Core: ^4.4.3
Angular Compiler CLI: ^4.4.3
Node: 8.5.0
Same here
Hi, I was trying to import this module to my ionic 3 project, but got error