Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.
This repository was archived by the owner on May 18, 2022. It is now read-only.

'grunt setup' task error #185

@TFOH

Description

@TFOH

I attempted to run the grunt setup task inside the yeopress theme folder but an error was returned:

$ grunt setup

Running "setup" task

Running "sass:dev" (sass) task

Running "bower-install" task
bower cloning https://github.com/jquery/jquery-dist.git
bower cloning https://github.com/jrburke/requirejs-bower.git
{ [Error: status code of git: 128]
details: 'fatal: Not a git repository (or any of the parent directories): .git\n',
command: 'git',
code: 128 }
{ [Error: status code of git: 128] details: '', command: 'git', code: 128 }

Done, without errors.

After looking at the URL https://github.com/jrburke/requirejs-bower i was redirected to https://github.com/requirejs/requirejs-bower instead. Is this why I got an error on running the task?

I thought it might still work so I continued to then run:

$ grunt bower
Running "bower:all" (bower) task

Which looked fine so then I ran:

grunt requirejs
Running "requirejs:production" (requirejs) task
>> Error: ENOENT: no such file or directory, open
>> '/Users/timdarker/Documents/Sites/htdocs/yeopress-test2/content/themes/yeopre
>> ss/js/vendor/jquery/jquery.js'
>> In module tree:
>> global
Warning: RequireJS failed. Use --force to continue.

Aborted due to warnings.

I noticed the folder 'js/vendor' has not been created.
How do I fix this? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions