voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.71k stars 504 forks source link

Help for installing #321

Closed amariussi closed 7 years ago

amariussi commented 7 years ago

Thank you for sharing Mosaico. I have read everything (even more than three times as suggested) but, unfortunately I am still not able to install a working copy of mosaico.io. This is a shame because it is a very nice and useful application.

My first try is on a Windows machine running WAMPServer.

First I managed to install nodejs* sucessfully.

Then I ran "npm install -g grunt-cli" followedby "grunt" and the output was the following (error): grunt_error

I then tried "npm install" followed by "grunt" and again "npm install" and after all the procedure was over I got a few more errors: 2017-04-26_130210

From the messages I understand that many things went wrong and I am definitely missing a number of components that need to be installed prior to Mosaico.

Unfortunately the installation procedure doesn't provide sufficient instruction for who is completely not familiar with these components. I am not asking for a detailed step by step installation procedure, but at least a (complete) bullet list of the required components (possibly with the places where to get them).

I assume that I may not be the only one not managing this installation because of the lack of experience with this type of components.

I hope you will be able to help!

Thank you!!!

Hiswe commented 7 years ago

@amariussi The error log tells that bower can't find git. Do you have git installed on your computer?

amariussi commented 7 years ago

Thanks for the Quiock reply.

I have now installed git and then I have run a new cmd window.

I went to the mosaico directory and I have run grunt. This started a long procedure (no errors) but it stopped at: "running watch task (waiting...)": 2017-04-26_133258

Since this was taking too long I tried opening a browser tab at 127.0.0.1:9006.

Now Mosaico shows up. So I selected the first template on the left. But when I add any of the blocks the result seems to be broken: 2017-04-26_133550

Additionally some parts don't seem to be editable (for example the icon at the bottom specifyin that the email is being sent via VoxMail: 2017-04-26_133745

It's OK if it says created by Mosaico, but why VoxMail? ANd in Italian?

Apart fom this last point I am still probably missing something I assume.

Hiswe commented 7 years ago
amariussi commented 7 years ago

I have now installed imageMagick but I am still getting broken images.

I also restarted everything and re run npm install as well as grunt.

I checked the Chrome console and these are the messages: 2017-04-26_141838

Hiswe commented 7 years ago

Nothing wrong with the log. The warn is only a warn. Without a block with placeholder images those logs are ok.

You should dig in the dev server code to see what happen.

amariussi commented 7 years ago

OK, thanks. I will look at other logs to try to understand what happened and post back here.

amariussi commented 7 years ago

After one day of trial and error unfortunately I am still unable to get it to work.

In addition to the broken blocks with images I have also found that, if I try to export the draft template I get an error message screen: 2017-04-28_155052

I found some error messages in one of the logs: towards the end of the log (see attachment) there is a sentence that attributes the issue to Mosaico, but I am completely unable to establish if that is the case. It surely is due for some lack of information on the installation procedure. 2017-04-28_155813

Here is the log:

2017-04-26T09_50_05_421Z-debug.log.txt

bago commented 7 years ago

The error you report in the last comment is something totally different from your first comment. In your first comment you succesfully built mosaico, otherwise you couldn't have created that screenshot. In your last comment you are failing to build mosaico because bower is not able to run.

I can't know what you did between the two.

Start from scratch and follow the readme.

amariussi commented 7 years ago

I did nothing in between and it's a fact that, in addition to the error messages it is not working properly.

I posted two errors: . one is about something not working when I tried to download an edited email . the other one says that something failed in the install

Additionally, in my previous post, I shared other installation errors and other application errors.

How do I uninstall in order to restart from scratch?

The read me is for those who know. How about those who don't?

It's a pity because with just a few clear lines of bullet points with: . full list of prerequired packages (specifying where to get them) . full ordered list of commands to issue

The current read me is too vague for someone who is not familiar with these components. Sorry if I keep asking for help but I would really want to install it. I am using SuiteCRM which have announced that they will adopt your solution (or at least part of it) so I want to be able to use it.

Thanks!

bago commented 7 years ago

I'm sorry if it is not documented/easier enough. At this time this is the state of things. Contributions are welcome.

IMHO it is impossible that you did the first screenshot if bower doesn't work, so it worked at least once. Then the "Not found" error is something coming from Apache (AFAICT), so it means you are doing something else from "running the default mosaico test environment".

https://github.com/voidlabs/mosaico/blob/master/README.md https://github.com/voidlabs/mosaico/blob/master/CONTRIBUTING.md https://github.com/voidlabs/mosaico/wiki

I'm closing this issue because it mixes 2 different issues. Make sure you read README and CONTRIBUTING before you open another issue. THank you.