Open wu-lee opened 9 years ago
For the record, I am using latest grunt / npm on Ubunty Trusty.
$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l
$ npm --version
1.4.28
$ grunt --version
grunt-cli v0.1.13
grunt v0.4.5
I also see problems from karma, which abort the build:
$ grunt test --verbose
[...]
Options: background=false, clientArgs={"_":["test"],"verbose":true,"$0":"/home/nick/.npm-packages/bin/grunt"}, client={"args":{"_":["test"],"verbose":true,"$0":"/home/nick/.npm-packages/bin/grunt"}}, configFile="karma.conf.js"
WARN `start` method is deprecated since 0.13. It will be removed in 0.14. Please use
server = new Server(config, [done])
server.start()
instead.
Warning: Invalid configuration: client.args must be an array of strings Use --force to continue.
Aborted due to warnings.
But it looks like these and some of the other initial problems can be resolved by updating to a recent version of karma:
npm update karma optimist grunt-karma --save-dev
This does not resolve the problems with an absence of SyncStrategy, and Opera.
I'm attempting to submit a patch for the WWW-Authenticate parser function. As part of that I'd like to add a test. However, the tests don't seem to run for me.
There are no instructions and I'm a little new to the grunt/bower/npm toolchain so there's some guesswork involved. But, on the current master branch (i.e. no changes added by me):
Fails because:
Specifically:
Removed 'Opera' from
browsers
list in karma.conf.js for now.bower install
, ran that manually for now.e.g.
Specifically:
Likewise for
npm test
, which runsgrunt travis --verbose
. This does not seem to be a problemAdditionally, the pull requests I submitted fail to build; this may be because of a different reason, the error seems to be:
(See here; Googling finds this which suggests grunt-bower needs to be updated)
Anyway, advice welcome.
Thanks