jonkemp / gulp-inline-css

Inline linked css in an html file. Useful for emails.
MIT License
272 stars 29 forks source link

i have an issue with foundation template emails. #60

Open MaksymMalin opened 5 years ago

MaksymMalin commented 5 years ago

 Error in plugin "gulp-inline-css"
Message:
    Parse Error: 
MaksymMalin commented 5 years ago

what can i do to repair . Nothing wrong was but next compile finished with error

jonkemp commented 5 years ago

This looks like a bug report. In order to be as helpful as possible, here are some guidelines for bug reports:

  1. Use the GitHub issue search — check if the issue has already been reported.

  2. Check if the issue has been fixed — try to reproduce it using the latest master or development branch in the repository.

  3. Isolate the problem — create a reduced test case and a live example.

A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) and OS experience the problem? What would you expect to be the outcome? All these details will help people to fix any potential bugs. Thanks!

MaksymMalin commented 5 years ago

Hello. I have struggled for non utf8 character or something wrong in index.html encoding / Gulp-inline-css is caching wrong index.htm as it is empty on the moment of build actionsl and it results to stop compiling index.html. 'inline' errored after 8.93 s [19:54:15] Error in plugin "gulp-inline-css" Message: Parse Error:"

jonkemp commented 5 years ago

Please post a sample gulpfile or a link to a repo where sample (or actual) code can be inspected. Thanks.

MaksymMalin commented 5 years ago

The main reason was the permissions issue and it is solved. Parsing is not perfect too as it is broken with different encoding.