-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bless 4.0.0 generates empty files #91
Comments
A quick update, I just tested this with version 4.0.0-alpha.0, and that works, so something must have gone wrong between that version and the "stable" version ;)
|
Strange, here's the diff: v4.0.0-alpha.1...v4.0.0 |
Nope, here is the diff: v4.0.0-alpha.0...v4.0.0 ;) I can't install 'alpha.1', only 'alpha.0' since it wasn't published on npm. |
Am I the only one who has this problem? Can someone confirm if it actually works with version 4.0.0 on their system? |
Not just you. I'll look into it when I can spare the time. |
There was an update to fs-promise that seems to have fix a number of file parsing issues. Let's see if #96 fixes this. That along with an update to Node >=4.0. |
Hi guys I just tested again using the new version 4.0.1 and the issue remains :( And next to that, the
Although this might have something to do with the fact that I'm using the LTS version of npm and apparently you stopped supporting this for some reason?
|
This is an artifact of updating lodash to v4 that was missed.
This is an artifact of updating lodash to v4 that was missed.
This is an artifact of updating lodash to v4 that was missed.
I tested a few of the files inside the
If I can help in some other way, please let me know (although I have no experience whatsoever with developing nodejs applications) |
Ok, I'm seeing the issue now. Though for some reason it works on some files:
I'm not sure of the cause yet though. |
I saw that too, if you run it on the entire directory some work, some don't. But if you run it one file at the time, they are all empty. Very strange behavior... |
This issue get's resolved if you use fsp.writeFileSync instead of the asyncronous version in chunk.js |
I'm getting this issue as well. Bless v. 4.0.2 Went into the source and made the change that @whjvenyl suggested, and then it worked. |
Works when using it with |
Having the same issue in 2 different environments: bless: 4.0.2 and I get empty files even with suggestion from @jonscottclark on dabbcf5 I have a CSS file with 8379 selectors, built from LESS and passed through PostCSS Autoprefixer. You can find it here: https://gist.github.com/Lyquix/9e6533e4f7b3754cbd627acbe14773ee Processing the same file with Bless 3.0.3 works. |
I had the same issue. I tried dabbcf5 and it didn't work. I managed to fix it by using whjvenyl's suggestion (change writeFile to writeFileSync) on /usr/local/lib/node_modules/bless/lib/commands/chunk.js bless: v4.0.2 |
Thanks @coffeemug777 ! I confirm that making the changes in the files |
The problem with changing it to I believe I have found the proper fix as outlined in PR #104 can you all test and confirm? |
Fix released in v4.0.3 |
I can confirm that the issue is fixed in v4.0.3. Tnx a lot @mtscout6! |
Hi guys
Just testing out the new version of Bless, which looks awesome.
Unfortunately I can't get it to work, it generates the splitted files, but the files are empty.
As a test I download bootstrap 3.3.6 and duplicated the content to get to enough selectors.
But we also have it for other css files, bootstrap was just used as an example here:
You can see the
big-bootstrap.#.css
files are empty here.My node version is 4.3.1 in case it matters...
Any idea's?
The text was updated successfully, but these errors were encountered: