No generated output files
freeman42x opened this issue · comments
When running grunt reduce
with the minimal configuration no output files were generated.
Environment:
Windows 8
Node v0.10.25
grunt-reduce@0.1.17
This is the console output for grunt reduce
:
D:\>grunt reduce
Running "reduce" task
0.001 secs: registerRequireJsConfig
AssetGraph.ensureAssetConfigHasType: Couldn't load file:///D:/src/.htaccess, assuming AssetGraph.Asset
Error: ENOENT, open 'D:\src\.htaccess'
0.024 secs: loadAssets
0.000 secs: populate
0.000 secs: assumeRequireJsConfigHasBeenFound
0.000 secs: populate
0.000 secs: fixBaseAssetsOfUnresolvedOutgoingRelationsFromHtmlFragments
0.000 secs: assumeThatAllHtmlFragmentAssetsWithoutIncomingRelationsAreNotTemplates
0.000 secs: populate
0.000 secs: removeRelations
0.050 secs: addDataVersionAttributeToHtmlElement
0.001 secs: replaceDartWithJavaScript
0.001 secs: populate
0.000 secs: compileLessToCss
0.001 secs: removeRelations
0.000 secs: populate
0.000 secs: removeRelations
0.001 secs: externalizeRelations
0.000 secs: mergeIdenticalAssets
processImages: pngcrush not installed. Install it to get smaller pngs
processImages: pngquant not installed. Install it to get smaller pngs
0.082 secs: processImages
assetgraph-sprite: Canvas not found, skipping
0.001 secs: spriteBackgroundImages
processImages: pngcrush not installed. Install it to get smaller pngs
processImages: pngquant not installed. Install it to get smaller pngs
0.006 secs: processImages
0.000 secs: inlineKnockoutJsTemplates
0.001 secs: liftUpJavaScriptRequireJsCommonJsCompatibilityRequire
0.001 secs: flattenRequireJs
0.000 secs: removeUnreferencedAssets
0.001 secs: convertCssImportsToHtmlStyles
0.000 secs: removeDuplicateHtmlStyles
0.000 secs: mergeIdenticalAssets
0.000 secs: autoprefixer
0.001 secs: bundleRelations
0.000 secs: splitCssIfIeLimitIsReached
0.000 secs: replaceRequireJsWithAlmond
0.000 secs: bundleRelations
0.000 secs: mergeIdenticalAssets
0.001 secs: ngmin
0.000 secs: removeNobundleAttribute
0.000 secs: minifyAssets
0.000 secs: removeAssets
0.001 secs: compressJavaScript
0.000 secs: removeAssets
0.000 secs: inlineRelations
0.000 secs: inlineAngularJsTemplates
0.000 secs: setAsyncOrDeferOnHtmlScripts
0.000 secs: omitFunctionCall
0.000 secs: inlineRelations
0.001 secs: moveAssetsInOrder
3.119 secs: buildProduction
0.001 secs: writeAssetsToDisc
Total: 0 0 bytes
0.001 secs: writeStatsToStderr
Done, without errors.
Running the same configuration under Ubuntu server generated output files.
You need to adapt the configuration to point at your index files before the tool can pick them up. The minimal configuration only work under the assumption that your application is in the folder app
where you run your grunt command.
Sorry, forgot to mention that I did change the basic configuration to use src
output folder instead of app
.
Using this same configuration and folder structure grunt reduce
worked under Ubuntu but it fails to generated any output files on Windows 8.
I have same problem on Windows 8
I need some more information to be able to debug this. Can you recreate the problem in a minimal setup that I can pull?