Bus Error 10 Grunt
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site bus error 10 c++ About Us Learn more about Stack Overflow the company Business Learn more about bus error 10 mac hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
Bus Error 10 Gulp
the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Bus Error: 10 when
Bus Error 10 Strtok
running grunt-sass up vote 11 down vote favorite I am running grunt-sass to try and compile my SCSS, but any time I run I get a Bus Error: 10. Using Node version 5.6.0, and an image of the error can be found here: http://i.imgur.com/m1LFydl.png Anyone come across this before? Gruntfile.js: module.exports = function(grunt) { // Configure tasks grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { dev: { options: bus error 10 fortran { beautify: true, mangle: false, compress: false, preserveComments: 'all' }, src: 'src/js/*.js', dest: 'js/script.min.js' }, build: { src: 'src/js/*.js', dest: 'js/script.min.js' } }, sass: { dev: { options: { outputStyle: 'expanded' }, files: { 'src/lad.css': 'src/sass/style.scss' } } }, watch: { js: { files: 'src/js/*.js', tasks: ['uglify:dev'] } } }); // Load the plugins grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-sass'); // Register tasks grunt.registerTask('default', ['uglify:dev', 'sass:dev']); grunt.registerTask('build', ['uglify:build']); }; javascript gruntjs share|improve this question edited Feb 17 at 14:20 sphanley 2,81261538 asked Feb 15 at 10:30 ladanta 109113 1 Which version do you use? i mean nodejs and grunt. –Ayoub Abid Feb 17 at 14:25 1 I'm not that into grunt, i use gulp. But is there a way instead of running grunt to start a watcher (as i can see in your image), to run something like grunt-sass as a one time task and see if you have the same error? –Peter Feb 17 at 14:34 1 Can you do me a quick favor? npm i -g npm-check-updates navigate to your repo/project and ncu -a and npm update then run it again? That'll sort out any possible version errors. –suzumakes Feb 17 a
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn
What Is Bus Error 10
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags node bus error Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, webpack bus error: 10 helping each other. Join them; it only takes a minute: Sign up GruntJS “bus error grunt watch” up vote 5 down vote favorite I'm having an error with GruntJS when I try to run a grunt watch. It http://stackoverflow.com/questions/35406951/bus-error-10-when-running-grunt-sass works fine, until there is a change in the file it is watching, then, it looks something like this: Running "watch" task Waiting...[1] 2464 bus error grunt watch The number 2464 changes. It seems to be the port that grunt is watching on? But, I'm not sure. Here is my Gruntfile: module.exports = function (grunt) { "use strict"; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'compact' }, files: { 'css/style.css': 'sass/style.scss', } } http://stackoverflow.com/questions/20887400/gruntjs-bus-error-grunt-watch }, watch: { files: 'sass/style.scss', tasks: ['sass'] } }); grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.registerTask('default', ['sass']); }; Thanks in advance for all the help! command-line terminal sass gruntjs watch share|improve this question edited Jan 3 '14 at 8:13 Anzeo 10.7k44472 asked Jan 2 '14 at 16:37 xanesis4 116414 add a comment| 2 Answers 2 active oldest votes up vote 24 down vote accepted Do you use Osx maverick? checkout this: https://github.com/gruntjs/grunt-contrib-watch/issues/204 You need to upgrade node.js to 0.10.22 version: # Check your version of Node.js. v0.10.20 will still be broken node –v # clean your node cache sudo npm cache clean –f # install node binary manager ’n’ sudo npm install -g n # use said ’n’ manager to install latest stable version sudo n stable source: http://stephentvedt.com/blog/2013/11/16/grunt-js-watch-bus-error/ share|improve this answer edited Apr 5 '14 at 0:20 Susan 84031433 answered Jan 2 '14 at 17:03 Slawa Eremkin 2,553819 I am in fact on OS X Mavericks, and I will do this to see what happens. It looks right, though. Thanks! –xanesis4 Jan 2 '14 at 17:08 Thanks, that worked perfectly! –xanesis4 Jan 2 '14 at 17:12 4 Worked for gulp as well, thanks. –brunops Apr 10 '14 at 16:28 This didn't work for me. My node is v4.1.0, sudo n stable put me at 4.0.0 and I'm still getting the bus err
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn http://stackoverflow.com/questions/21488719/bus-error10-on-grunt-contrib-watch-when-updating-scss-files more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like https://stephentvedt.com/2013/11/16/grunt-js-watch-bus-error/ you, helping each other. Join them; it only takes a minute: Sign up bus error:10 on grunt contrib-watch when updating scss files up vote 0 down vote favorite grunt watch runs and successfully updates js updates, but not bus error scss. I have to wait about a minute for the changes to get picked up. I am running node v0.10.18 Running "watch" task Waiting...OK File "app/styles/styles.scss" changed. Bus error: 10` node.js gruntjs livereload grunt-contrib-watch share|improve this question asked Jan 31 '14 at 19:44 Brian Hedberg 1 I would suggest posting your issue here and/or supplying more information about the app structure, OS, environment, etc. –Terry Jan 31 '14 at 19:50 add a comment| 1 bus error 10 Answer 1 active oldest votes up vote 0 down vote Upgrade your version of node.js >= 0.10.21. There is a node bug on the watch within previous versions. See: https://github.com/gruntjs/grunt-contrib-watch/issues/204 share|improve this answer answered Feb 1 '14 at 7:15 Kyle Robinson Young 11.9k13535 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged node.js gruntjs livereload grunt-contrib-watch or ask your own question. asked 2 years ago viewed 374 times active 2 years ago Blog Stack Overflow Podcast #89 - The Decline of Stack Overflow Has Been Greatly… Related 7Grunt: Watch multiple files, compile only changed - livereload breaks?0How to prevent grunt from live reloading multiple times when multiple files are updated?0Grunt.js/Grunt-contrib-watch packaged with Yeoman does not work9Grunt: Fatal error: watch EPERM0Grunt-contrib-watch with grunt-contrib-connect1Grunt watch with livereload after javascript concat is loading page with the previous change not latest4Grunt watch/Bower link: What is the most appropriate way to use Grunt watch with Bower link when developing a bower component?0Grunt Browser Sync reloading files but not injecting css Hot Network Qu
OSX Mavericks I discovered that every time I saved a file while grunt watch was running I would be thrown a bus error with a seemingly ambiguous number attached to it. After some digging and trial and error I finally decided to check my Node.js version. It was version 10.20. The latest stable release and the time or writing this is 10.22 and resolved the issue. To upgrade to the latest stable version: # Check your version of Node.js. v0.10.20 will still be broken node –v # clean your node cache sudo npm cache clean –f # install node binary manager ’n’ sudo npm install -g n # use said ’n’ manager to install latest stable version sudo n stable JavaScript Quick Tip Resources Workflow Nako Sung Thanks!! Stephen Tvedt Glad I could help! PrevNext © 2016 Stephen Tvedt All rights reserved