Skip to content

Instantly share code, notes, and snippets.

@grahamu
Created July 21, 2017 21:33
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 grahamu/824b54b9bb14da86e9212851c59ab9f0 to your computer and use it in GitHub Desktop.
Save grahamu/824b54b9bb14da86e9212851c59ab9f0 to your computer and use it in GitHub Desktop.
$ npm run dev
> @ dev /Users/graham/code/mgh
> concurrently --raw "./manage.py runserver" "npm run watch" "npm run dev:browser-sync"
> @ watch /Users/graham/code/mgh
> npm run clean && npm run copy:fonts && npm run copy:images && npm run build:css && concurrently --raw "npm run watch:lint" "npm run watch:babel" "npm run watch:js" "npm run watch:css"
> @ dev:browser-sync /Users/graham/code/mgh
> browser-sync start --no-open --proxy localhost:8000 --files "static/dist/js/*.js, static/dist/css/*.css"
sh: browser-sync: command not found
npm ERR! Darwin 16.6.0
npm ERR! argv "/Users/graham/.nvm/versions/node/v6.4.0/bin/node" "/Users/graham/.nvm/versions/node/v6.4.0/bin/npm" "run" "dev:browser-sync"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ dev:browser-sync: `browser-sync start --no-open --proxy localhost:8000 --files "static/dist/js/*.js, static/dist/css/*.css"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ dev:browser-sync script 'browser-sync start --no-open --proxy localhost:8000 --files "static/dist/js/*.js, static/dist/css/*.css"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! browser-sync start --no-open --proxy localhost:8000 --files "static/dist/js/*.js, static/dist/css/*.css"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/graham/code/mgh/npm-debug.log
> @ clean /Users/graham/code/mgh
> rm -rf static/dist && mkdir -p static/dist/js && mkdir -p static/dist/css && mkdir -p static/dist/fonts && mkdir -p static/dist/images
> @ copy:fonts /Users/graham/code/mgh
> cp node_modules/bootstrap/fonts/* static/dist/fonts/ && cp node_modules/font-awesome/fonts/* static/dist/fonts/
> @ copy:images /Users/graham/code/mgh
> cp -r static/src/images/* static/dist/images/ 2>/dev/null || :
Performing system checks...
System check identified no issues (0 silenced).
> @ build:css /Users/graham/code/mgh
> lessc --include-path=node_modules static/src/less/site.less static/dist/css/site.css
July 21, 2017 - 17:32:22
Django version 1.10.5, using settings 'mgh.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
FileError: 'rateyo/src/jquery.rateyo.less' wasn't found. Tried - /Users/graham/code/mgh/static/src/less/rateyo/src/jquery.rateyo.less,/Users/graham/code/mgh/static/src/less/rateyo/src/jquery.rateyo.less,/Users/graham/code/mgh/node_modules/rateyo/src/jquery.rateyo.less,rateyo/src/jquery.rateyo.less in /Users/graham/code/mgh/static/src/less/evaluations.less on line null, column 0:
1 .rating-question-group {
npm ERR! Darwin 16.6.0
npm ERR! argv "/Users/graham/.nvm/versions/node/v6.4.0/bin/node" "/Users/graham/.nvm/versions/node/v6.4.0/bin/npm" "run" "build:css"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! @ build:css: `lessc --include-path=node_modules static/src/less/site.less static/dist/css/site.css`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build:css script 'lessc --include-path=node_modules static/src/less/site.less static/dist/css/site.css'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! lessc --include-path=node_modules static/src/less/site.less static/dist/css/site.css
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/graham/code/mgh/npm-debug.log
npm ERR! Darwin 16.6.0
npm ERR! argv "/Users/graham/.nvm/versions/node/v6.4.0/bin/node" "/Users/graham/.nvm/versions/node/v6.4.0/bin/npm" "run" "watch"
npm ERR! node v6.4.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! @ watch: `npm run clean && npm run copy:fonts && npm run copy:images && npm run build:css && concurrently --raw "npm run watch:lint" "npm run watch:babel" "npm run watch:js" "npm run watch:css"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ watch script 'npm run clean && npm run copy:fonts && npm run copy:images && npm run build:css && concurrently --raw "npm run watch:lint" "npm run watch:babel" "npm run watch:js" "npm run watch:css"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run clean && npm run copy:fonts && npm run copy:images && npm run build:css && concurrently --raw "npm run watch:lint" "npm run watch:babel" "npm run watch:js" "npm run watch:css"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/graham/code/mgh/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment