Skip to main content

Bug Tracker

Side navigation

#10411 closed bug (worksforme)

Opened October 03, 2011 07:08PM UTC

Closed October 04, 2011 01:50AM UTC

Last modified October 04, 2011 03:37AM UTC

JSLint Error when running make

Reported by: alvincrespo Owned by:
Priority: low Milestone: None
Component: build Version: 1.7b1
Keywords: Cc:
Blocked by: Blocking:
Description

I get the followin jslint error when running make:

undefined

Problem at line 547 character 19: Cannot set property 'first' of undefined

node.js:205

throw e; // process.nextTick error, or 'error' event on first tick

^

TypeError: Cannot read property 'reason' of null

at Object.<anonymous> (/Users/alvincrespo/Sites/projects/jquery/build/jslint-check.js:24:13)

at Module._compile (module.js:416:26)

at Object..js (module.js:434:10)

at Module.load (module.js:335:31)

at Function._load (module.js:294:12)

at Array.<anonymous> (module.js:454:10)

at EventEmitter._tickCallback (node.js:197:26)

make: *** [lint] Error 1

Here are the steps to reproduce:

hyrule:jquery alvincrespo$ make clean

Removing Distribution directory: ./dist

Removing built copy of Sizzle

hyrule:jquery alvincrespo$ make

Results:

Building selector code from Sizzle

Building ./dist/jquery.js

Minifying jQuery ./dist/jquery.min.js

Checking jQuery against JSLint...

undefined

Problem at line 547 character 19: Cannot set property 'first' of undefined

node.js:205

throw e; // process.nextTick error, or 'error' event on first tick

^

TypeError: Cannot read property 'reason' of null

at Object.<anonymous> (/Users/alvincrespo/Sites/projects/jquery/build/jslint-check.js:24:13)

at Module._compile (module.js:416:26)

at Object..js (module.js:434:10)

at Module.load (module.js:335:31)

at Function._load (module.js:294:12)

at Array.<anonymous> (module.js:454:10)

at EventEmitter._tickCallback (node.js:197:26)

make: *** [lint] Error 1

jQuery is compiled and created in /dist fine, just this error in terminal.

Attachments (0)
Change History (2)

Changed October 04, 2011 01:50AM UTC by timmywil comment:1

component: unfiledbuild
priority: undecidedlow
resolution: → worksforme
status: newclosed

We are unable to reproduce this error during a make. Please make sure you have checked out the latest version of the source and jQuery's submodules (QUnit and Sizzle) and node is properly installed.

Changed October 04, 2011 03:37AM UTC by alvincrespo comment:2

I'm getting this using the following:

node v0.5.8

I've also made sure the latest jquery version was pulled from github.