Skip to content

Grunt build fails if repository folder path contains "/var/" #2450

Closed
@patrickording

Description

Hi

I'm trying to build my own custom jQuery but although I strictly followed the instructions in the README I get a "Warning" and when I --force the build process it doesn't work either.

MacBook Pro with:

grunt-cli v0.1.13
grunt v0.4.2
git version 2.4.5
node version v0.12.5

e.g. running

grunt custom:-ajax

results in:

grunt custom:-ajax
Running "custom:-ajax" (custom) task
Creating custom build...

Running "build:all:*:-ajax" (build) task
-ajax
-ajax/jsonp
-ajax/load
-ajax/parseJSON
-ajax/parseXML
-ajax/script
-ajax/var/nonce
-ajax/var/rquery
-ajax/xhr
-manipulation/_evalUrl
-event/ajax
Warning: TypeError: Cannot read property '1' of null
at Object.convert [as onBuildWrite]
jquery/build/tasks/build.js:49:77
Use --force to continue.

I was trying to build a custom version of jquery on a different machine (2015 iMac) and I get the same warning...

Any ideas what I'm doing wrong?
Thanks in advance!

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions