Skip to content
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

issue with a2s-custom-types on fresh install #44

Closed
dmastag opened this issue Sep 13, 2020 · 4 comments
Closed

issue with a2s-custom-types on fresh install #44

dmastag opened this issue Sep 13, 2020 · 4 comments
Assignees
Labels
bug workaround okay, its a bug, but a workaround exists

Comments

@dmastag
Copy link

dmastag commented Sep 13, 2020

After scaffolding my first project I am getting the following

~/markdeck
kursus-tuntas-ionic_markdeck_1 is up-to-date
kursus-tuntas-ionic_friends_1 is up-to-date
kursus-tuntas-ionic_web_1 is up-to-date
kursus-tuntas-ionic_pdf_1 is up-to-date
kursus-tuntas-ionic_standalone_1 is up-to-date
Creating kursus-tuntas-ionic_a2sketch_1 ... error

ERROR: for kursus-tuntas-ionic_a2sketch_1  Cannot create container for service a2sketch: invalid mount config for type "bind": bind source path does not exist: /Users/julianalimin/projects/kursus-tuntas-ionic/a2s-custom-types

ERROR: for a2sketch  Cannot create container for service a2sketch: invalid mount config for type "bind": bind source path does not exist: /Users/julianalimin/projects/kursus-tuntas-ionic/a2s-custom-types
ERROR: Encountered errors while bringing up the project.

So I tried to create the folder a2s-custom-types

And when I run ~/markdeck to compile again I am getting the following in http://localhost:8080

call render_a2s
curl: (6) Could not resolve host: a2sketch
Error running filter /markdeck/lib/render-asciiart-filter.lua:
Error running curl (error code 6): 
stack traceback:
	[C]: in field 'pipe'
	/markdeck/lib/render-asciiart-filter.lua:170: in function 'Render'
	/markdeck/lib/render-asciiart-filter.lua:185: in function 'RenderCodeBlock'

Any help would be appreciated

@dmastag
Copy link
Author

dmastag commented Sep 13, 2020

As you can see I tried to put markdeck in my home folder, so I tried from scratch and instead put markdeck in the project folder (also into the git repo).

I am still getting the complaint regarding having no a2s-custom-types folder. But this time after I added the folder, I could successfully access the presentation at http://localhost:8080

Still would like to know if it is normal to have to add that folder manually?

@arnehilmann arnehilmann self-assigned this Sep 13, 2020
@arnehilmann arnehilmann added bug workaround okay, its a bug, but a workaround exists labels Sep 13, 2020
@arnehilmann
Copy link
Owner

Hi! you are right: adding that folder manually is not meant to be the normal way of starting markdeck, but a workaround:
stopping markdeck, adding that folder, starting markdeck again...
Do you have the markdeck executable in the same folder as your presentation? If not, please copy it there and run ./markdeck in the same folder as your slides.md (and that dreaded a2s-custom-types folder).

@dmastag
Copy link
Author

dmastag commented Sep 14, 2020

Hi @arnehilmann ,
Yes, I put it into the same folder as my presentation.

It works that way

dmastag added a commit to julianalimin/tuntas-belajar-ionic that referenced this issue Sep 21, 2020
@arnehilmann
Copy link
Owner

should be fixed with v0.53.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug workaround okay, its a bug, but a workaround exists
Projects
None yet
Development

No branches or pull requests

2 participants