Closed pjackson28 closed 10 years ago
Yeah, it was renamed to asset_min
on it
Is it just me or does the build still seem to be failing (at least Travis-CI)?
This one should do it
@LaurentGoderre Thanks :)! Looks like it's working now.
I'm getting the following grunt
build error and I was thinking it might be related (if not, I'll open a new issue). Any help would be appreciated!
Running "clean:dist" (clean) task
Running "hub:wet-boew" (hub) task
>> Running [build,assets-min,i18n_csv:assemble,pages:ajax:min] on /Users/wet-boew/web-projects/@github/wet-boew-styleguide/lib/wet-boew/Gruntfile.coffee
>> /Users/wet-boew/web-projects/@github/wet-boew-styleguide/lib/wet-boew/Gruntfile.coffee:
Loading "Gruntfile.coffee" tasks...ERROR
>> Error: Unable to read "lib/jquery/bower.json" file (Error code: ENOENT).
Warning: Task "i18n_csv:assemble" not found. Use --force to continue.
Aborted due to warnings.
Warning: Task "hub:wet-boew" failed. Use --force to continue.
Aborted due to warnings.
It doesn't seem to be broken on Travis
I must be missing a key part of the build process then. Would you mind pointing me to some info on building the styleguide locally? I was hoping to help with some outstanding issues, but I can't get a local build running.
run script/bootstrap.sh
then try again
I re-forked, cleared bower/npm caches and ran script/bootstrap.sh
again. After running grunt
, I still get the same error:
Running "clean:dist" (clean) task
Running "hub:wet-boew" (hub) task
>> Running [build,assets-min,i18n_csv:assemble,pages:ajax:min] on /Users/wet-boew/web-projects/wxt/wet-boew-styleguide/lib/wet-boew/Gruntfile.coffee
>> /Users/wet-boew/web-projects/wxt/wet-boew-styleguide/lib/wet-boew/Gruntfile.coffee:
Loading "Gruntfile.coffee" tasks...ERROR
>> Error: Unable to read "lib/jquery/bower.json" file (Error code: ENOENT).
Warning: Task "i18n_csv:assemble" not found. Use --force to continue.
Aborted due to warnings.
Warning: Task "hub:wet-boew" failed. Use --force to continue.
Aborted due to warnings.
you can try
cd lib/wet-boew
npm install
cd ../../
grunt
That did the trick (almost)! I had to run bower update && grunt init
separately after npm install
, but grunt
finally built out the project. Many thanks!
I'm not sure if this is the right place to put all of this, but I had a lot of issues, getting everything setup, so maybe these can help someone else.
I kept having an error where npm wouldn't recognize that nodejs was installed on my system. I used the command 'which nodejs' and got: /usr/bin/nodejs
HOWEVER, npm was looking for /usr/bin/node, so i had to make a symbolic link, which solved that first issue: sudo ln -s /usr/bin/nodejs /usr/bin/node
I then kept on recieving the following error: npm WARN cannot run in wd wet-boew@4.0.4 bower update && grunt init (wd=/home/me/Downloads/wet-boew-4.0.4)
I got around this error by using the following command: npm install --unsafe-perm
HOWEVER, I then got the following error, which i solved by changing the owner of configstore from root to myself:
Error: EACCES, permission denied '/home/me/.config/configstore/insight-bower.yml'
You don't have access to this file.
at Object.fs.openSync (evalmachine.
npm ERR! not ok code 0
As i said, not sure if this is the right place but if it can help someone here it is.
New issue, I cannot user script/setup as i get the same error as before: npm WARN cannot run in wd wet-boew@4.0.4 bower update && grunt init (wd=/home/me/Downloads/wet-boew-4.0.4)
I had to use bower update && grunt init on the command line in order to make it work.
@joshdevries check out the discussion in https://github.com/wet-boew/wet-boew/issues/5887
@nschonni @LaurentGoderre The Travis build keeps failing at the same place. The main issue seems to be it can't find assets-dist. As a result the style guide site is not being updated with recent changes.