Mostafa Fateen

Results comments of Mostafa Fateen

Hey guys, my sass is working perfectly with my components, but I can't make it work with karma. what should I do?

@kingsleyh in a matter of fact yes, I only needed to add to my `module: { preLoaders: [` in `webpack.test.js` ``` { test: /\.scss$/, exclude: /node_modules/, loaders: ['raw-loader', 'sass-loader'] }...

@kingsleyh check the angular2 version you are using because in the latest releases you don't write these imports anymore

there was a problem in compiling typescript which was fixed by adding `"files": [ "src/main.ts", "typings/browser.d.ts", "node_modules/zone.js/dist/zone.js.d.ts" ],` to the `tsconfig.json`

This is available in version 6 check the example by @DanielYKPan here https://stackblitz.com/github/DanielYKPan/owl-examples/tree/date-time-picker?file=src%2Fapp%2Fyear-month%2Fyear-month.component.ts

update your angular to version 6 or downgrade ng-date-time-picker to version 5