Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created April 26, 2014 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaosf/11325712 to your computer and use it in GitHub Desktop.
Save kaosf/11325712 to your computer and use it in GitHub Desktop.
node -v
#v0.10.22
npm -v
#1.3.14
# ref. https://github.com/mizchi-sandbox/try-vue.js
hub clone mizchi-sandbox/try-vue.js
cd try-vue.js
npm install -g coffee-script browserify mocha-phantomjs
npm install
grunt --version
# grunt-cli v0.1.9
# grunt v0.4.4
bower --version
# 1.2.7
bower install
grunt build
grunt test # Error! return code: 6
#Running "bower_concat:all" (bower_concat) task
#File public/vendor.js created.
#
#Running "browserify:app" (browserify) task
#>> Bundled public/all.js
#
#Running "browserify:test" (browserify) task
#>> Bundled test/assets/test.js
#
#Running "mocha_phantomjs:all" (mocha_phantomjs) task
#PhantomJS was not found.
#Warning: 1 tests failed Use --force to continue.
#
#Aborted due to warnings.
# Install PhantomJS
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
tar xf phantomjs-1.9.7-linux-x86_64.tar.bz2
mv phantomjs-1.9.7-linux-x86_64.tar.bz2 ~/
export PATH=$HOME/phantomjs-1.9.7-linux-x86_64/bin:$PATH
phantomjs --version
#1.9.7
grunt test # Error! return code: 6
#Running "bower_concat:all" (bower_concat) task
#File public/vendor.js created.
#
#Running "browserify:app" (browserify) task
#>> Bundled public/all.js
#
#Running "browserify:test" (browserify) task
#>> Bundled test/assets/test.js
#
#Running "mocha_phantomjs:all" (mocha_phantomjs) task
#ReferenceError: Can't find variable: Vue
#
# file:///home/ka/try-vue.js/public/all.js:8
# file:///home/ka/try-vue.js/public/all.js:1
# file:///home/ka/try-vue.js/public/all.js:1
# file:///home/ka/try-vue.js/public/all.js:52
#Warning: 1 tests failed Use --force to continue.
#
#Aborted due to warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment