Closed juicymark closed 9 years ago
Please, could you paste the output of running the commands below in your local environment?
cd node_modules/download.jqueryui.com
grunt prepare
juice:jqueryui.com mark$ cd node_modules/download.jqueryui.com/ juice:download.jqueryui.com mark$ grunt prepare Running "check-modules" task
Running "mkdirs" task
Running "prepare-jquery-ui" task Fetch updates for jquery-ui repo
Fetched repo Fetch updates for api.jqueryui.com repo Fetched repo Checking out jquery-ui branch/tag: 1.11.2 Done with checkout Installing jquery-ui npm modules Error installing npm modules: undefined Warning: Task "prepare-jquery-ui" failed. Use --force to continue.
Aborted due to warnings. juice:download.jqueryui.com mark$
Could you try again after running npm cache clean
? Also dump the output of npm --version
?
Hi Jörn
After running npm cache clean and trying again i still get the same error as my initial one.
Then i tried npm --version
output was 1.4.8 so i have updated now to 2.1.11
But still get the same issues.
Regards
Mark
Another test is try to replicate manually what the script was trying to do. In other words:
cd node_modules/download.jqueryui.com/tmp/jquery-ui/
npm install
PS: I've cloned the repo to a brand new location and executed the commands above, which worked just fine in:
$ npm --version
1.4.23
$ node --version
v0.10.25
Linux
Hi
I have tried to do the above but cannot since i do not have a folder located in the specified location node_modules/download.jqueryui.com/tmp/jquery-ui/
Please, find me (rxaviers) on IRC (http://irc.jquery.org/) #jqueryui-dev @ Freenode during the week (8am BRT - 6pm BRT). It'll be more productive...
hi rxaviers
I'm now currently away until after the Christmas period, so i will look you up on irc in the new year.
Regards
Mark
I'll be away afterwards. You'll probably find me in the first week of 2015 and on... Best regards
I'm now currently away until after the Christmas period, so i will look you up on irc in the new year.
You'll probably find me in the first week of 2015 and on... Best regards
@juicymark @rxaviers Ping. You ever talked to each other?
Hi all, I'm having problems with this as well. I've set up vagrant and here's the screen capture from running grunt deploy
.
Here's the result from running grunt prepare
in node_modules/downloads.jqueryui.com
:
I'm able to access vagrant.jqueryui.com
but it shows this page with "nothing found" instead:
I'm running: Mac OSX 10.10.2, vagrant 1.7.2, npm v2.5.1, grunt v0.4.5
Not very sure what is causing this.
Can you try with an npm
version <2? 1.4.x
should work.
@jzaefferer I've tried with 1.4.20
, grunt still returns me the same error. Interestingly I am able to grunt deploy
to contribute.jquery.org
without fail.
Okay, then you've ran into a different issue. We still have an open ticket to improve the error reporting: https://github.com/jquery/jqueryui.com/issues/93 - maybe you can look into that?
@jzaefferer I see. Sure, I'll look into that. Thanks!
In the meanwhile, you can find a better error by running grunt prepare
manually inside ./node_modules/download.jqueryui.com/
.
On Friday, March 6, 2015, Xu Bili notifications@github.com wrote:
@jzaefferer https://github.com/jzaefferer I see. Sure, I'll look into that. Thanks!
— Reply to this email directly or view it on GitHub https://github.com/jquery/jqueryui.com/issues/102#issuecomment-77588627.
+55 (16) 98138-1582, +1 (415) 568-5854, skype: rxaviers http://rafael.xavier.blog.br
@rxaviers Yup, I've already ran grunt prepare
and the results' screen capture is posted earlier.
Appears that the problem lies with grunt.util.spawn
process in download.jqueryui.com
's Gruntfile. Still looking into it.
@rxaviers Yup, I've already ran grunt prepare and the results' screen capture is posted earlier.
Awesome, my bad having not noticed it.
For me: grunt deploy gives-
ashg1910@ashg1910:~/Documents/jquery/jqueryui.com$ grunt deploy Running "check-modules" task
Running "clean-dist" task
Running "build-posts:page" (build-posts) task Built 100 pages.
Running "build-resources:all" (build-resources) task Built 132 resources.
Running "build-download" task Initializing download module, might take a while...
Warning: Command failed: Use --force to continue.
Aborted due to warnings.
And in ./node_modules/download.jqueryui.com
ashg1910@ashg1910:~/Documents/jquery/jqueryui.com/node_modules/download.jqueryui.com$ grunt prepare Running "check-modules" task
Running "mkdirs" task
Running "prepare-jquery-ui" task Fetch updates for jquery-ui repo
Fetched repo Fetch updates for api.jqueryui.com repo Fetched repo Checking out jquery-ui branch/tag: 1.11.4 Done with checkout Installing jquery-ui npm modules Installed npm modules Cleaning up existing jquery-ui/1.11.4 Cleaned Copying jQuery UI 1.11.4 over to jquery-ui/1.11.4 Done copying Checking out jquery-ui branch/tag: 1.10.4 Done with checkout Checking out api.jqueryui.com branch/tag: 1-10 Done with checkout Installing jquery-ui npm modules Installed npm modules Installing api.jqueryui.com npm modules Installed npm modules Building API documentation for jQuery UI Error building documentation: undefined Warning: Task "prepare-jquery-ui" failed. Use --force to continue.
Aborted due to warnings.
my npm version is 1.3.10
@ashg1910 Hi there, I ran into the same problem a while back. You may refer to here for the solution. Try to navigate into node_modules/download.jqueryui.com/tmp/jquery-ui/
and run npm install
manually.
Hope this helps!
@xbili : Still not working :(
@ashg1910 which error are you getting now?
ping @ashg1910 - can you answer to the above question?
I successfully built the setup. No errors now :)
We recently fixed a bunch of issues with node > 0.10
so that likely fixed this. I was previously unable to build and am able to now as well. I would say we are probably ok to close this now.
Would like some others to confirm but yep, agreed.
Closing due to inactivity. The error handling for the grunt sub process should be a lot better now, so hopefully future issues are easier to resolve.
Hi
I have tried to deploy jqueryui.com to my vagrant setup but am still getting npm errors and grunt task failing.
I have now tried using the latest copy of the repo.
cd jqueryui.com juice:jqueryui.com mark$ npm install
npm part
node-syslog@1.1.7 install /Volumes/Data/Development/vHosts/Github/jQuery/jquery-sites-content/jqueryui.com/jqueryui.com/node_modules/download.jqueryui.com/node_modules/simple-log/node_modules/node-syslog
CXX(target) Release/obj.target/syslog/syslog.o SOLINK_MODULE(target) Release/syslog.node SOLINK_MODULE(target) Release/syslog.node: Finished npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"}) npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"}) npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"}) npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"}) npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.10.33","npm":"1.4.28"}) grunt@0.4.5 node_modules/grunt ├── which@1.0.8 ├── dateformat@1.0.2-1.2.3 ├── eventemitter2@0.4.14 ├── getobject@0.1.0 ├── rimraf@2.2.8 ├── colors@0.6.2 ├── async@0.1.22 ├── hooker@0.2.3 ├── grunt-legacy-util@0.2.0 ├── exit@0.1.2 ├── lodash@0.9.2 ├── coffee-script@1.3.3 ├── underscore.string@2.2.1 ├── iconv-lite@0.2.11 ├── nopt@1.0.10 (abbrev@1.0.5) ├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3) ├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0) ├── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11) ├── js-yaml@2.0.5 (argparse@0.1.16, esprima@1.0.4) └── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)
cheerio@0.12.4 node_modules/cheerio ├── entities@0.5.0 ├── underscore@1.4.4 ├── htmlparser2@3.1.4 (domelementtype@1.1.3, domutils@1.1.6, domhandler@2.0.3, readable-stream@1.0.33) └── cheerio-select@0.0.3 (CSSselect@0.7.0)
grunt-jquery-content@2.0.0 node_modules/grunt-jquery-content ├── spawnback@1.0.0 ├── grunt-check-modules@1.0.0 ├── which@1.0.5 ├── rimraf@2.2.8 ├── async@0.9.0 ├── marked@0.3.2 ├── he@0.5.0 ├── highlight.js@7.3.0 ├── cheerio@0.17.0 (dom-serializer@0.0.1, entities@1.1.1, htmlparser2@3.7.3, CSSselect@0.4.1, lodash@2.4.1) └── grunt-wordpress@2.1.0 (gilded-wordpress@1.0.0)
download.jqueryui.com@2.0.19 node_modules/download.jqueryui.com ├── grunt-check-modules@0.2.0 ├── dateformat@1.0.2-1.2.3 ├── sqwish@0.2.0 ├── semver@1.1.0 ├── async@0.1.22 ├── rimraf@2.0.2 (graceful-fs@1.1.14) ├── lzma@1.2.1 ├── grunt-contrib-copy@0.4.1 ├── grunt-contrib-clean@0.5.0 (rimraf@2.2.8) ├── underscore@1.4.4 ├── optimist@0.3.4 (wordwrap@0.0.2) ├── glob@4.0.0 (inherits@2.0.1, minimatch@0.3.0) ├── archiver@0.4.1 (readable-stream@0.3.1) ├── grunt-contrib-uglify@0.2.0 (grunt-lib-contrib@0.6.1) ├── grunt-contrib-handlebars@0.5.7 (grunt-lib-contrib@0.5.3) ├── formidable@1.0.9 ├── connect@1.9.2 (mime@1.2.11, qs@2.3.3) ├── requirejs@2.1.8 ├── uglify-js@2.2.5 (optimist@0.3.7, source-map@0.1.40) ├── handlebars@1.0.12 (uglify-js@2.3.6) ├── winston@0.7.3 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, async@0.2.10, pkginfo@0.3.0, colors@0.6.2, request@2.16.6) ├── grunt-contrib-jshint@0.9.2 (hooker@0.2.3, jshint@2.4.4) ├── grunt@0.4.1 (which@1.0.8, eventemitter2@0.4.14, colors@0.6.2, hooker@0.2.3, nopt@1.0.10, minimatch@0.2.14, glob@3.1.21, lodash@0.9.2, coffee-script@1.3.3, underscore.string@2.2.1, iconv-lite@0.2.11, js-yaml@2.0.5, findup-sync@0.1.3) ├── bower@1.3.8 (is-root@0.1.0, junk@0.3.0, stringify-object@0.2.1, which@1.0.8, abbrev@1.0.5, chmodr@0.1.0, osenv@0.1.0, opn@0.1.2, archy@0.0.2, rimraf@2.2.8, lru-cache@2.5.0, bower-logger@0.2.2, bower-endpoint-parser@0.2.2, graceful-fs@3.0.5, lockfile@0.4.3, nopt@3.0.1, retry@0.6.1, chalk@0.4.0, tmp@0.0.23, q@1.0.1, request-progress@0.3.1, shell-quote@1.4.2, semver@2.3.2, p-throttler@0.0.1, fstream@0.1.31, promptly@0.2.0, bower-json@0.4.0, mkdirp@0.5.0, fstream-ignore@0.0.10, bower-config@0.5.2, tar@0.1.20, decompress-zip@0.0.8, request@2.36.0, glob@4.0.6, cardinal@0.4.4, bower-registry-client@0.2.1, update-notifier@0.2.2, mout@0.9.1, handlebars@1.3.0, insight@0.3.1, inquirer@0.5.1) ├── simple-log@1.1.0 (node-syslog@1.1.7) └── gm@1.8.1 (debug@0.7.0)
npm prune then grunt deploy
juice:jqueryui.com mark$ grunt deploy Running "check-modules" task
Running "clean-dist" task
Running "build-posts:page" (build-posts) task Built 98 pages.
Running "build-resources:all" (build-resources) task Built 128 resources.
Running "build-download" task Initializing download module, might take a while...
Aborted due to warnings. juice:jqueryui.com mark$
Please can someone advise ho to solve this issue.
Regards
Mark