Side navigation
#13136 closed bug (notabug)
Opened December 31, 2012 07:29PM UTC
Closed January 01, 2013 01:52AM UTC
Last modified January 01, 2013 04:17AM UTC
Can't build jQuery on OS X 10.8.2
Reported by: | m_gol | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Starting some time ago I can't build jQuery on OS X 10.8.2. It happened when master was on 1.9.0pre and it happens now when it's 2.0.0pre. If I follow instructions and run:
$ npm install $ grunt
I get an error:
<FATAL> Unable to find "grunt.js" config file. Do you need any --help? </FATAL>
Next, I tried to provide a config file:
$ grunt --config Gruntfile.js
but then I get this:
Running "update_submodules" task Running "selector:src/selector.js" (selector) task File 'src/selector.js' created. Running "build:dist/jquery.js:*" (build) task /usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:352 throw e; ^ TypeError: Cannot call method 'forEach' of undefined at Object.<anonymous> (/Users/mgol/Documents/projects/public/jquery/Gruntfile.js:297:8) at Object.task.registerMultiTask.thisTask (/usr/local/share/npm/lib/node_modules/grunt/lib/grunt/task.js:109:15) at Object.task.registerTask.thisTask.fn (/usr/local/share/npm/lib/node_modules/grunt/lib/grunt/task.js:58:16) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:343:36) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:319:9) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:346:11) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:319:9) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:346:11) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:319:9) at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:346:11)
I use node from Homebrew, all packages fully updated. npm version is 1.1.69, grunt version is 0.3.17
Attachments (0)
Change History (3)
Changed December 31, 2012 07:31PM UTC by comment:1
_comment0: | Sorry, I've messed code parts. Here's my report again: \ \ Starting some time ago I can't build jQuery on OS X 10.8.2. It happened when master was on 1.9.0pre and it happens now when it's 2.0.0pre. If I follow instructions and run: \ {{{ \ $ npm install \ $ grunt \ }}} \ I get an error: \ {{{ \ <FATAL> Unable to find "grunt.js" config file. Do you need any --help? </FATAL> \ }}} \ Next, I tried to provide a config file: \ {{{ \ $ grunt --config Gruntfile.js \ }}} \ but then I get this: \ {{{ \ Running "update_submodules" task \ \ Running "selector:src/selector.js" (selector) task \ File 'src/selector.js' created. \ \ Running "build:dist/jquery.js:*" (build) task \ \ /usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:352 \ throw e; \ ^ \ TypeError: Cannot call method 'forEach' of undefined \ at Object.<anonymous> (/Users/mgol/Documents/projects/public/jquery/Gruntfile.js:297:8) \ at Object.task.registerMultiTask.thisTask (/usr/local/share/npm/lib/node_modules/grunt/lib/grunt/task.js:109:15) \ at Object.task.registerTask.thisTask.fn (/usr/local/share/npm/lib/node_modules/grunt/lib/grunt/task.js:58:16) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:343:36) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:319:9) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:346:11) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:319:9) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:346:11) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:319:9) \ at Task.<anonymous> (/usr/local/share/npm/lib/node_modules/grunt/lib/util/task.js:346:11) \ }}} \ \ I use node from Homebrew, all packages fully updated. npm version is 1.1.69, grunt version is 0.3.17 → 1356982470246561 |
---|
Changed January 01, 2013 01:52AM UTC by comment:2
resolution: | → notabug |
---|---|
status: | new → closed |
This isn't the help forum, it's the bug tracker. Please go to forum.jquery.com and post in the Developing jQuery Core forum. Thanks!
Changed January 01, 2013 04:17AM UTC by comment:3
OK, posted it here:
https://forum.jquery.com/topic/can-t-build-jquery-on-os-x-10-8-2
I just thought that if build instructions from README.md don't work then it's a bug in documentation but maybe I reached out. Thanks for your response anyway!
Sorry, I've messed code parts. Here's my report again:
Starting some time ago I can't build jQuery on OS X 10.8.2. It happened when master was on 1.9.0pre and it happens now when it's 2.0.0pre. If I follow instructions and run:
I get an error:
Next, I tried to provide a config file (though it probably means README.md should be corrected):
but then I get this:
I use node from Homebrew, all packages fully updated. npm version is 1.1.69, grunt version is 0.3.17