I am having a strange issue with grunt-contrib-cssmin. It never stops or gives errors. I am using
C:\projects\doeclf>grunt --version && node --version && npm --version
grunt-cli v0.1.13
grunt v0.4.5
v0.12.4
2.10.1
My grunt.js has following in it
cssmin: {
target: {
files: [{
expand: true,
cwd: 'css/',
src: ['index.css', '!*.min.css'],
dest: 'css/',
ext: '.min.css'
}]
}
}
My project structure is as follows
|
|
grunt.js
|
|__css
|
|__index.css
When I run my grunt task this is the out it throws and it never finishes.
the output from my grunt cssmin --verbose is
[4mInitializing[24m
Command-line options: [36m--verbose[39m
Reading "Gruntfile.js" Gruntfile...[32mOK[39m
[1mRegistering Gruntfile tasks.[22m
Reading package.json...[32mOK[39m
Parsing package.json...[32mOK[39m
Initializing config...[32mOK[39m
[1mRegistering "grunt-contrib-requirejs" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-requirejs\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-requirejs\package.json...[32mOK[39m
Loading "requirejs.js" tasks...[32mOK[39m
+ [36mrequirejs[39m
[1mRegistering "grunt-contrib-compass" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-compass\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-compass\package.json...[32mOK[39m
Loading "compass.js" tasks...[32mOK[39m
+ [36mcompass[39m
[1mRegistering "grunt-contrib-concat" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-concat\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-concat\package.json...[32mOK[39m
Loading "concat.js" tasks...[32mOK[39m
+ [36mconcat[39m
[1mRegistering "grunt-contrib-connect" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-connect\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-connect\package.json...[32mOK[39m
Loading "connect.js" tasks...[32mOK[39m
+ [36mconnect[39m
[1mRegistering "grunt-contrib-cssmin" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-cssmin\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-cssmin\package.json...[32mOK[39m
Loading "cssmin.js" tasks...[32mOK[39m
+ [36mcssmin[39m
[1mRegistering "csswring" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\csswring\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\csswring\package.json...[32mOK[39m
Loading "csswring.js" tasks...[32mOK[39m
+ [36mcsswring[39m
[1mRegistering "grunt-contrib-sass" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-sass\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-sass\package.json...[32mOK[39m
Loading "sass.js" tasks...[32mOK[39m
+ [36msass[39m
[1mRegistering "grunt-contrib-uglify" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-uglify\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-uglify\package.json...[32mOK[39m
Loading "uglify.js" tasks...[32mOK[39m
+ [36muglify[39m
[1mRegistering "grunt-contrib-watch" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-contrib-watch\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-contrib-watch\package.json...[32mOK[39m
Loading "watch.js" tasks...[32mOK[39m
+ [36mwatch[39m
[1mRegistering "grunt-express" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-express\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-express\package.json...[32mOK[39m
[1mRegistering "grunt-parallel" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-express\node_modules\grunt-parallel\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-express\node_modules\grunt-parallel\package.json...[32mOK[39m
Loading "parallel.js" tasks...[32mOK[39m
+ [36mparallel[39m
Loading "express.js" tasks...[32mOK[39m
+ [36mexpress[39m, [36mexpress-keepalive[39m, [36mexpress-restart[39m, [36mexpress-server[39m, [36mexpress-start[39m
[1mRegistering "grunt-open" local Npm module tasks.[22m
Reading C:\projects\doeclf\node_modules\grunt-open\package.json...[32mOK[39m
Parsing C:\projects\doeclf\node_modules\grunt-open\package.json...[32mOK[39m
Loading "open.js" tasks...[32mOK[39m
+ [36mopen[39m
Loading "Gruntfile.js" tasks...[32mOK[39m
+ [36mbuildsass[39m, [36mconcatcss[39m, [36mcssmin[39m, [36mdefault[39m, [36mserver[39m
Running tasks: [36mcssmin[39m
[4mRunning "cssmin" task[24m
[4mRunning "cssmin" task[24m
[4mRunning "cssmin" task[24m
[4mRunning "cssmin" task[24m
[4mRunning "cssmin" task[24m
Your target is fine and works perfectly, so the issue is somewhere else in your code.
Specifically, your last line shows that you are redefining your own cssmin task
Loading "Gruntfile.js" tasks...[32mOK[39m
+ [36mbuildsass[39m, [36mconcatcss[39m, [36mcssmin[39m, [36mdefault[39m, [36mserver[39m
This probably causes the infinite looping, call your own task another name (mincss?) and you should be fine.
Related
I created a REST service interface definition with one very simple GET endpoint using OpenAPI 3.
(There is a minified version of that interface in the spoiler.)
{"openapi":"3.0.3","info":{"title":"Identity Cache API Definition","version":"1.0"},"tags":[{"name":"identity-cache"}],"paths":{"/{identityId}/data":{"get":{"tags":["identity-cache"],"summary":"Returns data.","operationId":"getIdentityData","parameters":[{"name":"identityId","in":"path","description":"The identity ID.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The identity data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityData"}}}}}}}},"components":{"schemas":{"IdentityData":{"type":"object","required":["identityId"],"properties":{"identityId":{"type":"string"}}}}}}
Then I generated the typescript-fetch source code with the openapi-generator:
openapi-generator-cli generate -i ../identity-cache-api.yaml -o ./ -g typescript-fetch \
--additional-properties=supportsES6=true,typescriptThreePlus=true,npmVersion=1.0.0,npmName=identity-cache-fetch
After that I built the generated npm package with Node.js v14.7.0 using npm:
npm run build
And finally I added the built package locally to my project with npm install. Here is the added line in the package.json:
"identity-cache-fetch": "file:../identity-cache-npm-package",
Seems good, Visual Studio Code recognizes the new package and let me use it:
import { Configuration, IdentityCacheApi } from "identity-cache-fetch";
const identityCacheApi = new IdentityCacheApi(new Configuration({ basePath: import.meta.env.VITE_BACKEND_URL }));
However the build fails with: vite build
This error arises:
[INFO] error during build:
[INFO] Error: 'IdentityCacheApi' is not exported by ../identity-cache-npm-package/dist/index.js, imported by src/services/service.ts
[INFO] at error (../frontend/node_modules/rollup/dist/shared/rollup.js:160:30)
[INFO] at Module.error (../frontend/node_modules/rollup/dist/shared/rollup.js:12438:16)
[INFO] at Module.traceVariable (../frontend/node_modules/rollup/dist/shared/rollup.js:12808:29)
[INFO] at ModuleScope.findVariable (../frontend/node_modules/rollup/dist/shared/rollup.js:11601:39)
[INFO] at Identifier.bind (../frontend/node_modules/rollup/dist/shared/rollup.js:6479:40)
[INFO] at NewExpression.bind (../frontend/node_modules/rollup/dist/shared/rollup.js:5087:23)
[INFO] at VariableDeclarator.bind (../frontend/node_modules/rollup/dist/shared/rollup.js:5087:23)
[INFO] at VariableDeclaration.bind (../frontend/node_modules/rollup/dist/shared/rollup.js:5083:31)
[INFO] at Program.bind (../frontend/node_modules/rollup/dist/shared/rollup.js:5083:31)
[INFO] at Module.bindReferences (../frontend/node_modules/rollup/dist/shared/rollup.js:12434:18)
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm ERR! errno 1
The index.js seems good. For simplicity, I'm only posting the TypeScript code of the uncompiled index.ts.
/* tslint:disable */
/* eslint-disable */
export * from './runtime';
export * from './apis';
export * from './models';
What am I missing?
Or is it a bug in the openapi-generator or vite?
It's an rollup issue.
By adding an ESM (ECMAScript Module) to the generated code the project finally builds.
I have my website on AngularJs and it was working just fine before we updated the NPM clean. Whenever we tried to build the project with 'Grunt Build' it gets stuck after processing the images part.
Reinstalled NPM previous version
Resetup complete environment
Deleted cache and everything
$ grunt build -v
Initializing
Command-line options: --verbose, --gruntfile=C:\Users\YouStable\Documents\newyst\Gruntfile.js
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
=============================================================================
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-autoprefixer" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-autoprefixer\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-autoprefixer\package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-filerev-replace" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-filerev-replace\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-filerev-replace\package.json...OK
Loading "filerev_replace.js" tasks...OK
+ filerev_replace
Registering "grunt-concurrent" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-concurrent\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-concurrent\package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Registering "grunt-contrib-clean" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-clean\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-clean\package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-concat" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-concat\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-concat\package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-connect" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-connect\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-connect\package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-copy" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-copy\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-copy\package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-cssmin\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-cssmin\package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-htmlmin\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-htmlmin\package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-imagemin\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-imagemin\package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-jshint\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-jshint\package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-uglify\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-uglify\package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-watch" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-watch\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-contrib-watch\package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-filerev" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-filerev\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-filerev\package.json...OK
Loading "filerev.js" tasks...OK
+ filerev
Registering "grunt-google-cdn" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-google-cdn\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-google-cdn\package.json...OK
Loading "cdnify.js" tasks...OK
+ cdnify
Registering "grunt-newer" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-newer\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-newer\package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-ng-annotate" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-ng-annotate\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-ng-annotate\package.json...OK
Loading "ng-annotate.js" tasks...OK
+ ngAnnotate
Registering "grunt-svgmin" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-svgmin\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-svgmin\package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-usemin" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-usemin\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-usemin\package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-wiredep" local Npm module tasks.
Reading C:\Users\YouStable\Documents\newyst\node_modules\grunt-wiredep\package.json...OK
Parsing C:\Users\YouStable\Documents\newyst\node_modules\grunt-wiredep\package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: svgmin
Running "svgmin" task
Running "svgmin:dist" (svgmin) task
Verifying property svgmin.dist exists in config...OK
Files: app/images/1-high.svg -> dist/images/1-high.svg
Files: app/images/9-high.svg -> dist/images/9-high.svg
Files: app/images/dreamhost.svg -> dist/images/dreamhost.svg
Files: app/images/icons/cd-arrow.svg -> dist/images/icons/cd-arrow.svg
Files: app/images/icons/cloud.svg -> dist/images/icons/cloud.svg
Files: app/images/icons/contract.svg -> dist/images/icons/contract.svg
Files: app/images/icons/curriculum.svg -> dist/images/icons/curriculum.svg
Files: app/images/icons/http.svg -> dist/images/icons/http.svg
Files: app/images/icons/piggy-bank.svg -> dist/images/icons/piggy-bank.svg
Files: app/images/icons/sms_interact.svg -> dist/images/icons/sms_interact.svg
Files: app/images/icons/speaker.svg -> dist/images/icons/speaker.svg
Files: app/images/icons/website.svg -> dist/images/icons/website.svg
Files: app/images/lowa.svg -> dist/images/lowa.svg
Files: app/images/svgs/boy.svg -> dist/images/svgs/boy.svg
Files: app/images/svgs/call.svg -> dist/images/svgs/call.svg
Files: app/images/svgs/cancel.svg -> dist/images/svgs/cancel.svg
Files: app/images/svgs/chat.svg -> dist/images/svgs/chat.svg
Files: app/images/svgs/chat1.svg -> dist/images/svgs/chat1.svg
Files: app/images/svgs/check.svg -> dist/images/svgs/check.svg
Files: app/images/svgs/Digital_Marketing_Image.svg -> dist/images/svgs/Digital_Marketing_Image.svg
Files: app/images/svgs/drupal.svg -> dist/images/svgs/drupal.svg
Files: app/images/svgs/email.svg -> dist/images/svgs/email.svg
Files: app/images/svgs/ink.svg -> dist/images/svgs/ink.svg
Files: app/images/svgs/joomla.svg -> dist/images/svgs/joomla.svg
Files: app/images/svgs/like.svg -> dist/images/svgs/like.svg
Files: app/images/svgs/magento.svg -> dist/images/svgs/magento.svg
Files: app/images/svgs/man.svg -> dist/images/svgs/man.svg
Files: app/images/svgs/phone-call.svg -> dist/images/svgs/phone-call.svg
Files: app/images/svgs/picture.svg -> dist/images/svgs/picture.svg
Files: app/images/svgs/shopping-cart.svg -> dist/images/svgs/shopping-cart.svg
Files: app/images/svgs/wordpress.svg -> dist/images/svgs/wordpress.svg
Options: (none)
Reading app/images/1-high.svg...OK
√ app/images/1-high.svg (saved 7 B 0%)
Writing dist/images/1-high.svg...OK
Reading app/images/9-high.svg...OK
√ app/images/9-high.svg (saved 76.48 kB 25%)
Writing dist/images/9-high.svg...OK
Reading app/images/dreamhost.svg...OK
√ app/images/dreamhost.svg (saved 147 B 6%)
Writing dist/images/dreamhost.svg...OK
Reading app/images/icons/cd-arrow.svg...OK
√ app/images/icons/cd-arrow.svg (saved 156 B 42%)
Writing dist/images/icons/cd-arrow.svg...OK
Reading app/images/icons/cloud.svg...OK
√ app/images/icons/cloud.svg (saved 2.97 kB 47%)
Writing dist/images/icons/cloud.svg...OK
Reading app/images/icons/contract.svg...OK
√ app/images/icons/contract.svg (saved 900 B 35%)
Writing dist/images/icons/contract.svg...OK
Reading app/images/icons/curriculum.svg...OK
√ app/images/icons/curriculum.svg (saved 887 B 27%)
Writing dist/images/icons/curriculum.svg...OK
Reading app/images/icons/http.svg...OK
√ app/images/icons/http.svg (saved 1.18 kB 29%)
Writing dist/images/icons/http.svg...OK
Reading app/images/icons/piggy-bank.svg...OK
√ app/images/icons/piggy-bank.svg (saved 1.07 kB 17%)
Writing dist/images/icons/piggy-bank.svg...OK
Reading app/images/icons/sms_interact.svg...OK
√ app/images/icons/sms_interact.svg (saved 9.31 kB 55%)
Writing dist/images/icons/sms_interact.svg...OK
Reading app/images/icons/speaker.svg...OK
√ app/images/icons/speaker.svg (saved 1.04 kB 29%)
Writing dist/images/icons/speaker.svg...OK
Reading app/images/icons/website.svg...OK
√ app/images/icons/website.svg (saved 1.3 kB 27%)
Writing dist/images/icons/website.svg...OK
Reading app/images/lowa.svg...OK
√ app/images/lowa.svg (saved 47.01 kB 27%)
Writing dist/images/lowa.svg...OK
Reading app/images/svgs/boy.svg...OK
√ app/images/svgs/boy.svg (saved 1.47 kB 22%)
Writing dist/images/svgs/boy.svg...OK
Reading app/images/svgs/call.svg...OK
√ app/images/svgs/call.svg (saved 614 B 22%)
Writing dist/images/svgs/call.svg...OK
Reading app/images/svgs/cancel.svg...OK
√ app/images/svgs/cancel.svg (saved 233 B 50%)
Writing dist/images/svgs/cancel.svg...OK
Reading app/images/svgs/chat.svg...OK
√ app/images/svgs/chat.svg (saved 286 B 19%)
Writing dist/images/svgs/chat.svg...OK
Reading app/images/svgs/chat1.svg...OK
√ app/images/svgs/chat1.svg (saved 283 B 19%)
Writing dist/images/svgs/chat1.svg...OK
Reading app/images/svgs/check.svg...OK
√ app/images/svgs/check.svg (saved 182 B 50%)
Writing dist/images/svgs/check.svg...OK
Reading app/images/svgs/Digital_Marketing_Image.svg...OK
√ app/images/svgs/Digital_Marketing_Image.svg (saved 24.02 kB 23%)
Writing dist/images/svgs/Digital_Marketing_Image.svg...OK
Reading app/images/svgs/drupal.svg...OK
√ app/images/svgs/drupal.svg (saved 22.07 kB 88%)
Writing dist/images/svgs/drupal.svg...OK
Reading app/images/svgs/email.svg...OK
√ app/images/svgs/email.svg (saved 1.24 kB 22%)
Writing dist/images/svgs/email.svg...OK
Reading app/images/svgs/ink.svg...OK
√ app/images/svgs/ink.svg (saved 3.31 kB 41%)
Writing dist/images/svgs/ink.svg...OK
Reading app/images/svgs/joomla.svg...OK
√ app/images/svgs/joomla.svg (saved 1.29 kB 44%)
Writing dist/images/svgs/joomla.svg...OK
Reading app/images/svgs/like.svg...OK
√ app/images/svgs/like.svg (saved 382 B 23%)
Writing dist/images/svgs/like.svg...OK
Reading app/images/svgs/magento.svg...OK
√ app/images/svgs/magento.svg (saved 435 B 40%)
Writing dist/images/svgs/magento.svg...OK
Reading app/images/svgs/man.svg...OK
√ app/images/svgs/man.svg (saved 1.5 kB 23%)
Writing dist/images/svgs/man.svg...OK
Reading app/images/svgs/phone-call.svg...OK
√ app/images/svgs/phone-call.svg (saved 741 B 26%)
Writing dist/images/svgs/phone-call.svg...OK
Reading app/images/svgs/picture.svg...OK
√ app/images/svgs/picture.svg (saved 450 B 24%)
Writing dist/images/svgs/picture.svg...OK
Reading app/images/svgs/shopping-cart.svg...OK
√ app/images/svgs/shopping-cart.svg (saved 663 B 39%)
Writing dist/images/svgs/shopping-cart.svg...OK
Reading app/images/svgs/wordpress.svg...OK
√ app/images/svgs/wordpress.svg (saved 715 B 35%)
Writing dist/images/svgs/wordpress.svg...OK
Total saved: 202.33 kB
Done.
Execution Time (2019-03-26 10:12:18 UTC+5:30)
loading tasks 13ms █ 1%
svgmin:dist 2s ███████████████████████████████████████████████ 99%
Total 2s
Its still working fine on other device with old setup but new setup doesn't work at all. Please check and review.
What is the node version are you using? There might be compatibility issues.
You haven't pasted the what error you got.! So, will give you the general troubleshooting of the issue.
For troubleshooting whenever you are facing kind of wired issue. Just go ahead and clean the cache by using npm cache clean.
I'm new to javascript world and I'm currecntly using jspm, gulp, typescript and babel when I run the command gulp bundle I'm getting this
[15:52:39] Finished 'build-system' after 1.95 s
[15:52:39] Finished 'build' after 2 s
[15:52:39] Starting 'bundle'...
[15:52:39] 'bundle' errored after 394 ms
[15:52:39] Error on fetch for animal.js at file:///D:/vetserve/Vetserve.Web/src/
Vetserve.Web.Appts/dist/animal.js
Error: ENOENT: no such file or directory, open 'D:\vetserve\Vetserve.Web
\src\Vetserve.Web.Appts\dist\animal.js.map'
at Error (native)
I am moving a Sails.js app hosted on Heroku to Amazon ElasticBeanstalk. When the application launches, it throws the following Grunt error (pulled from eb logs):
info: Sails <| .-..-.
info: v0.11.5 |\
info: /|.\
info: / || \
info: ,' |' \
info: .-'.-==|/_--'
info: `--'-------'
info: __---___--___---___--___---___--___
info: ____---___--___---___--___---___--___-__
info:
info: Server lifted in `/var/app/current`
info: To see your app, visit http://localhost:8081
info: To shut down Sails, press <CTRL> + C at any time.
debug: --------------------------------------------------------
debug: :: Mon Feb 29 2016 08:21:46 GMT+0000 (UTC)
debug: Environment : development
debug: Port : 8081
debug: --------------------------------------------------------
error: ** Grunt :: An error occurred. **
error:
------------------------------------------------------------------------
>> FileError: '../bower_components/bootstrap/less/grid.less' wasn't found in assets/styles/importer.less on line 9, column 1:
>> 8 // Import Bootstrap
>> 9 #import "../bower_components/bootstrap/less/grid.less";
>> 10 #import "../bower_components/bootstrap/less/mixins.less";
Warning: Error compiling assets/styles/importer.less
Aborted due to warnings.
Running "less:dev" (less) task
------------------------------------------------------------------------
error: Looks like a Grunt error occurred--
error: Please fix it, then **restart Sails** to continue running tasks (e.g. watching for changes in assets)
error: Or if you're stuck, check out the troubleshooting tips below.
error: Troubleshooting tips:
error:
error: *-> Are "grunt" and related grunt task modules installed locally? Run `npm install` if you're not sure.
error:
error: *-> You might have a malformed LESS, SASS, CoffeeScript file, etc.
error:
error: *-> Or maybe you don't have permissions to access the `.tmp` directory?
error: e.g., `/var/app/current/.tmp` ?
error:
error: If you think this might be the case, try running:
error: sudo chown -R 497 /var/app/current/.tmp
The same code runs fine on my local development laptop and on Heroku but not on ElasticBeanstalk. Why is it unable to find the bootstrap files? This being a PaaS, I can't even run the recommended sudo chown command that the log recommended. Also to be clear, I have the following command in my package.json file:
"scripts": {
"postinstall": "bower install; grunt build",
"debug": "node debug app.js",
"start": "node app.js"
}
I have instructed the script to run bower install after the NPM packages are installed in the machine. None of the images in my /assets folder seem to load either. Not sure what's going on. Please help.
I am unable to generate dist folder in the web app built and generated using yeoman angular generator.
I am pasting the verbose of grunt build. Please check if this is helpful.
pdc1-f3t18r1:ShippingSolution administrator$ grunt --verbose build
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-autoprefixer" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-autoprefixer/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-concurrent" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-concurrent/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-clean/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-compass" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-compass/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-compass/package.json...OK
Loading "compass.js" tasks...OK
+ compass
Registering "grunt-contrib-concat" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-concat/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-connect" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-connect/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-copy" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-copy/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...ERROR
>> Error: Cannot find module 'bin-wrapper'
>> at Function.Module._resolveFilename (module.js:338:15)
>> at Function.Module._load (module.js:280:25)
>> at Module.require (module.js:364:17)
>> at require (module.js:380:17)
>> at Object.<anonymous> (/Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/lib/index.js:3:18)
>> at Module._compile (module.js:456:26)
>> at Object.Module._extensions..js (module.js:474:10)
>> at Module.load (module.js:356:32)
>> at Function.Module._load (module.js:312:12)
>> at Module.require (module.js:364:17)
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-filerev" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-filerev/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-filerev/package.json...OK
Loading "filerev.js" tasks...OK
+ filerev
Registering "grunt-google-cdn" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-google-cdn/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-google-cdn/package.json...OK
Loading "cdnify.js" tasks...OK
+ cdnify
Registering "grunt-newer" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-newer/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-ng-annotate" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-ng-annotate/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-ng-annotate/package.json...OK
Loading "ng-annotate.js" tasks...OK
+ ngAnnotate
Registering "grunt-svgmin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-svgmin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-usemin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-usemin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-wiredep" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-wiredep/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-wiredep/package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: build
Running "build" task
Running "clean:dist" (clean) task
Verifying property clean.dist exists in config...OK
Files: [no src]
Options: force=false, no-write=false
Options: force=false, no-write=false
Running "wiredep" task
Running "wiredep:app" (wiredep) task
Verifying property wiredep.app exists in config...OK
Files: app/index.html
Verifying property wiredep.app.src exists in config...OK
Options: src=["app/index.html"], ignorePath={}
Running "wiredep:sass" (wiredep) task
Verifying property wiredep.sass exists in config...OK
Files: app/styles/main.scss
Verifying property wiredep.sass.src exists in config...OK
Options: src=["app/styles/{,*/}*.{scss,sass}"], ignorePath={}
Running "useminPrepare" task
Running "useminPrepare:html" (useminPrepare) task
Verifying property useminPrepare.html exists in config...OK
Files: app/index.html -> html
Options: dest="dist", flow={"html":{"steps":{"js":["concat","uglifyjs"],"css":["cssmin"]},"post":{}}}
Going through app/index.html to update the config
Looking for build script HTML comment blocks
Configuration is now:
concat:
{ generated:
{ files:
[ { dest: '.tmp/concat/scripts/oldieshim.js',
src:
[ 'bower_components/es5-shim/es5-shim.js ',
'bower_components/json3/lib/json3.js ' ] },
{ dest: '.tmp/concat/scripts/vendor.js',
src:
[ 'bower_components/jquery/dist/jquery.js',
'bower_components/angular/angular.js',
'bower_components/bootstrap/dist/js/bootstrap.js',
'bower_components/angular-animate/angular-animate.js',
'bower_components/angular-aria/angular-aria.js',
'bower_components/angular-cookies/angular-cookies.js',
'bower_components/angular-messages/angular-messages.js',
'bower_components/angular-resource/angular-resource.js',
'bower_components/angular-route/angular-route.js',
'bower_components/angular-sanitize/angular-sanitize.js',
'bower_components/angular-touch/angular-touch.js' ] },
{ dest: '.tmp/concat/scripts/scripts.js',
src:
[ '{.tmp,app}/scripts/app.js ',
'{.tmp,app}/scripts/controllers/main.js ' ] } ] } }
uglify:
{ generated:
{ files:
[ { dest: 'dist/scripts/oldieshim.js',
src: [ '.tmp/concat/scripts/oldieshim.js' ] },
{ dest: 'dist/scripts/vendor.js',
src: [ '.tmp/concat/scripts/vendor.js' ] },
{ dest: 'dist/scripts/scripts.js',
src: [ '.tmp/concat/scripts/scripts.js' ] } ] } }
cssmin:
{ generated:
{ files:
[ { dest: 'dist/styles/vendor.css',
src: [ 'bower_components/bootstrap/dist/css/bootstrap.css' ] },
{ dest: 'dist/styles/main.css',
src: [ '.tmp/styles/main.css' ] } ] } }
Running "concurrent:dist" (concurrent) task
Verifying property concurrent.dist exists in config...OK
Files: [no src] -> dist
Options: limit=8
Warning: Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Registering "grunt-autoprefixer" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-autoprefixer/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer
Registering "grunt-concurrent" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-concurrent/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent
Registering "grunt-contrib-clean" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-clean/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean
Registering "grunt-contrib-compass" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-compass/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-compass/package.json...OK
Loading "compass.js" tasks...OK
+ compass
Registering "grunt-contrib-concat" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-concat/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat
Registering "grunt-contrib-connect" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-connect/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect
Registering "grunt-contrib-copy" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-copy/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy
Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin
Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin
Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...ERROR
>> Error: Cannot find module 'bin-wrapper'
>> at Function.Module._resolveFilename (module.js:338:15)
>> at Function.Module._load (module.js:280:25)
>> at Module.require (module.js:364:17)
>> at require (module.js:380:17)
>> at Object.<anonymous> (/Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/lib/index.js:3:18)
>> at Module._compile (module.js:456:26)
>> at Object.Module._extensions..js (module.js:474:10)
>> at Module.load (module.js:356:32)
>> at Function.Module._load (module.js:312:12)
>> at Module.require (module.js:364:17)
Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint
Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify
Registering "grunt-contrib-watch" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-watch/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch
Registering "grunt-filerev" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-filerev/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-filerev/package.json...OK
Loading "filerev.js" tasks...OK
+ filerev
Registering "grunt-google-cdn" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-google-cdn/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-google-cdn/package.json...OK
Loading "cdnify.js" tasks...OK
+ cdnify
Registering "grunt-newer" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-newer/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-clean, newer-postrun
Registering "grunt-ng-annotate" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-ng-annotate/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-ng-annotate/package.json...OK
Loading "ng-annotate.js" tasks...OK
+ ngAnnotate
Registering "grunt-svgmin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-svgmin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin
Registering "grunt-usemin" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-usemin/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Registering "grunt-wiredep" local Npm module tasks.
Reading /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-wiredep/package.json...OK
Parsing /Users/administrator/Desktop/CiscoShipping/ShippingSolution/node_modules/grunt-wiredep/package.json...OK
Loading "wiredep.js" tasks...OK
+ wiredep
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, serve, server, test
Running tasks: compass:dist
Running "compass:dist" (compass) task
Verifying property compass.dist exists in config...OK
File: [no files]
Options: sassDir="app/styles", cssDir=".tmp/styles", generatedImagesDir="dist/images/generated", imagesDir="app/images", javascriptsDir="app/scripts", fontsDir="app/styles/fonts", importPath="./bower_components", httpImagesPath="/images", httpGeneratedImagesPath="/images/generated", httpFontsPath="/styles/fonts", relativeAssets=false, assetCacheBuster=false, raw="Sass::Script::Number.precision = 10\n"
Warning: You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.
Aborted due to warnings.
Execution Time (2015-01-27 14:27:21 UTC)
loading tasks 5ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 28%
compass:dist 12ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 67%
Total 18ms Use --force to continue.
Aborted due to warnings.
Execution Time (2015-01-27 14:27:19 UTC)
loading tasks 6ms 0%
clean:dist 6ms 0%
wiredep:app 185ms ▇▇▇▇▇ 10%
wiredep:sass 11ms ▇ 1%
useminPrepare:html 18ms ▇ 1%
concurrent:dist 1.7s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 88%
Total 1.9s
pdc1-f3t18r1:ShippingSolution administrator$
Is there something I am missing?
Thanks,
Ankit
I was having this same problem and I found that in the build process there is a task in the grunt file the uses ngAnnotate.
So I check on the package.config and I saw that package for grung-ng-annotate was missing so I went through their page and update it.
Use this to install it
npm install grunt-ng-annotate --save-dev
This will add your package to the config and then you will be able to run the "grunt" task without a problem and generate the "dist" folder.
https://github.com/mzgol/grunt-ng-annotate For more information.