This repository has been archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
When running karma test, at-loader broke #30
Labels
Comments
How did you install node_modules ? Through yarn or npm ? |
@marcoturi I use npm. So I was successful fixing the problem... I had to update a lot of dependencies but everything is working now. Here my package.json: ...
"dependencies": {
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@angular/tsc-wrapped": "^0.5.2",
"@ionic/storage": "1.1.9",
"ionic-angular": "2.2.0",
"ionic-native": "^2.4.1",
"ionicons": "3.0.0",
"lodash-es": "^4.17.4",
"rxjs": "5.0.1",
"sw-toolbox": "^3.6.0",
"zone.js": "0.7.2"
},
"devDependencies": {
"@ionic/app-scripts": "1.1.4",
"@types/jasmine": "2.5.41",
"@types/lodash-es": "^4.14.2",
"angular2-template-loader": "^0.6.2",
"awesome-typescript-loader": "^3.1.2",
"better-npm-run": "0.0.14",
"codelyzer": "2.0.1",
"commitizen": "^2.9.6",
"css-loader": "^0.26.2",
"cz-conventional-changelog": "^2.0.0",
"finalhandler": "^1.0.0",
"husky": "^0.13.1",
"istanbul-instrumenter-loader": "0.2.0",
"jasmine-core": "^2.5.2",
"jasmine-spec-reporter": "^3.2.0",
"json-loader": "^0.5.4",
"karma": "^1.5.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.1.0",
"karma-mocha-reporter": "^2.2.2",
"karma-phantomjs-launcher": "^1.0.2",
"karma-remap-coverage": "0.1.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "2.0.2",
"phantomjs-prebuilt": "^2.1.14",
"protractor": "^5.1.1",
"protractor-jasmine2-screenshot-reporter": "^0.3.3",
"raw-loader": "0.5.1",
"serve-static": "^1.12.0",
"source-map-loader": "^0.1.6",
"standard-version": "^4.0.0",
"to-string-loader": "^1.1.4",
"ts-helpers": "^1.1.1",
"ts-node": "^2.1.0",
"tslint": "4.0.0",
"tslint-loader": "^3.4.2",
"typedoc": "^0.5.7",
"typescript": "2.1.4",
"validate-commit-msg": "^2.11.1",
"webpack": "2.2.1",
"xml2js": "^0.4.17"
},
... I also change the script name You want me to make a pull request? |
@arthurvasconcelos : plz make a PR. I faced the same issue today. Thx for the solution! |
Latest release should have fixed this problem, sore for the late response. If anyone is getting problems with typescript types, cosider setting the type version to the one of typescript of the project (in this case ts2.0, |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error log:
The text was updated successfully, but these errors were encountered: