Comments (3)
Sounds like you're missing a jarfile for yuijs. I don't include one with assetcompress. You'll need to download it separately and configure the filter to have the path to the yui compressor jar file. The configuration docs have an example of how to do that.
from asset_compress.
Dear @markstory , i find the issue but i can't know why this happen ?! . in the YuiJs class and YuiCss Class the default path you write in vendor directory but when but yuicompressor.jar inside yuicompressor directory inside vendor directory not work but when change
protected $_settings = array(
'path' => 'yuicompressor/yuicompressor.jar'
);
to full path this work
protected $_settings = array(
'path' => 'C:\xampp\htdocs\memphis_cake3\vendor\yuicompressor/yuicompressor.jar'
);
from asset_compress.
Sounds like you may have a CWD related issue. Using the full path is generally a better idea anyways. You can use file path constants in your configuration file as well so you don't have to put environment specific paths in your configuration file.
I'm going to close this as it seems like you figured out your problem with the configuration paths.
from asset_compress.
Related Issues (20)
- Editing a SASS partial in v0.20 does not trigger the output CSS file to be regenerated when "always enable controller" is false HOT 2
- Resource is duplicated when defining transitive extensions HOT 7
- Asset Compress helper not adding script files correctly when adding from view in CAKEPHP 2.x. HOT 2
- working with plugin assets is not working HOT 2
- build all js files from source folder to target folder with its same name HOT 1
- Timestamp not generated for CSS HOT 1
- build command throws error with CakePHP 4.0.0 HOT 2
- Filter that blindly executes a command HOT 4
- AssetCompressHelper::url() does not add base name HOT 2
- Turbolinks : Javascript error when debug on HOT 3
- Cannot compile SVG HOT 1
- AssetCompressHelper Not Found HOT 1
- how to use config.ini in coffeescript
- Support for 4.3
- Deprecated method return types when running on PHP 8.1 HOT 1
- Asset
- matthiasmullie/minify Filter HOT 3
- Callback function not being called HOT 1
- 5.x: AssetCompressHelper script() function's return type is not compatible to HTML-Helper of cake 5.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asset_compress.