Open Blackbaud-KevinHutson opened 7 years ago
Hmmm, I'm having trouble replicating this. I suspect a transformation issue of some kind. Are you using babel?
Yep, we are using babel. Here is a dump our package.json if that's helpful.
{
"name": "my-app",
"version": "0.0.156",
"repository": {
"type": "git",
"url": "private"
},
"scripts": {
"build": "gulp build",
"test": "gulp test"
},
"main": "src/main/index.js",
"devDependencies": {
"angular-mocks": "1.5.3",
"angular-input-masks": "2.6.0",
"autoprefixer": "^6.4.0",
"babel": "^6.3.0",
"babel-core": "~6.8.0",
"babel-eslint": "^4.1.3",
"babel-loader": "^6.2.4",
"babel-plugin-istanbul": "^2.0.1",
"babel-plugin-transform-es2015-classes": "^6.8.0",
"babel-polyfill": "^6.8.0",
"babel-preset-es2015": "^6.8.0",
"babel-register": "~6.8.0",
"chalk": "~1.1.1",
"common-gulp": "~0.0.11",
"common-ui-test": "~0.0.7",
"css-loader": "^0.21.0",
"del": "~2.2.0",
"eslint": "^2.2.0",
"eslint-loader": "^1.5.0",
"eslint-plugin-angular": "~1.0.1",
"eslint-plugin-jasmine": "^1.8.1",
"filesaver.js-npm": "~1.0.1",
"fs-extra": "^0.30.0",
"gulp": "~3.9.0",
"gulp-bump": "~2.1.0",
"gulp-eslint": "~2.0.0",
"gulp-filter": "~4.0.0",
"gulp-git": "~1.7.0",
"gulp-help": "~1.6.1",
"gulp-rimraf": "^0.2.0",
"gulp-tag-version": "~1.3.0",
"gulp-tap": "^0.1.3",
"gulp-util": "~3.0.6",
"html-webpack-plugin": "^2.19.0",
"istanbul": "~0.4.3",
"istanbul-combine": "^0.3.0",
"istanbul-instrumenter-loader": "^0.2.0",
"jasmine": "^2.3.2",
"jasmine-core": "^2.3.4",
"jasmine-reporters": "^2.0.7",
"js-yaml": "^3.5.3",
"karma": "~0.13.9",
"karma-chrome-launcher": "~1.0.1",
"karma-cli": "^0.1.1",
"karma-coverage": "~1.0.0",
"karma-jasmine": "~1.0.2",
"karma-junit-reporter": "^1.0.0",
"karma-ng-html2js-preprocessor": "~1.0.0",
"karma-phantomjs-launcher": "~1.0.0",
"karma-sourcemap-loader": "^0.3.6",
"karma-spec-reporter": "0.0.26",
"karma-webpack": "^1.5.0",
"nconf": "^0.8.4",
"ng-annotate-loader": "0.1.0",
"open-browser-webpack-plugin": "0.0.2",
"opn": "^4.0.1",
"phantomjs-prebuilt": "^2.1.3",
"postcss-loader": "^0.10.1",
"properties": "^1.2.1",
"raw-loader": "^0.5.1",
"require-linked-peer": "^0.1.0",
"run-sequence": "~1.1.5",
"sass-loader": "^3.0.0",
"style-loader": "^0.13.0",
"uglify-save-license": "~0.4.1",
"unroll": "1.4.0",
"url-loader": "^0.5.7",
"webpack": "^1.8.4",
"webpack-dev-server": "^1.12.1",
"webpack-stream": "~3.2.0",
"wrench": "~1.5.8",
"yargs": "^4.7.1"
},
"engines": {
"node": "~4.4.3"
},
"dependencies": {
"angular-input-masks": "2.6.0"
},
"peerDependencies": {
"blackbaud-skyux": "1.13.8",
"lodash": "~4.12.0",
"madlib-shim-easyxdm": "^2.4.20-7",
"mixpanel-browser": "~2.7.2",
"skyshell": "~0.0.1",
"urijs": "^1.17.0",
"rxjs": "~5.1.0"
}
}
This apps is a little dated now. All of our new repo's are using the latest Angular now.
No rush on this. It isn't blocking us. We are pegged at 1.4 for now. If some time opens up we can test out 1.5, we can try it. I just wanted to let you know the error did exist for us at 1.5.
I'm also pegged @ 1.4.0, because 1.5.0 broke usage with all node versions < v6. unroll@1.5.0 really should have been unroll@2.0.0.
@lawrencec Hey, I think there may be an issue with 1.5. Note that 1.4 seems to be working fine so it's not an emergency for us as I just pinned the version to
1.4.0
.This morning we kicked off a Jenkins build which runs our app that uses Unroll. package.json was set to
^1.1.0
so our build installed 1.5 and got the following.abbreviated Jenkins console output:
Let me know if I can provide more information that might be helpful to reproduce this issue. I might be able to lend some of my time to pinpoint the cause.
This is for an AngularJS (1.x) app using Gulp, Karma and Jasmine.