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

Inferred type of client value not found on '_language.eliom' #501

Open
remyzorg opened this issue Apr 11, 2018 · 0 comments
Open

Inferred type of client value not found on '_language.eliom' #501

remyzorg opened this issue Apr 11, 2018 · 0 comments

Comments

@remyzorg
Copy link

remyzorg commented Apr 11, 2018

Hi,

File "maps_places_language.eliom", line 29, characters 19-55:
Error: Error: Inferred type of client value not found. You need to regenerate _server/maps_places_language.type_mli.
Makefile.os:284 : la recette pour la cible « _client/maps_places_language.cmo » a échouée
make: *** [_client/maps_places_language.cmo] Erreur 2

This is my output of make test.byte, where maps_places is the project name

I have this error, when I try to build a basic project with ocsigen-start. Regenerate the file doesn't seem to help.

There is a similar error here : #394

This is what my _server/maps_places_language.type_mli looks like

val __eliom__compilation_unit_id__ea'eliom_inferred_type__O9 : string
val best_matched_language : unit -> Maps_places_i18n.t Lwt.t
val _eliom_fragment_ea'eliom_inferred_type__O91 : unit Eliom_client_value.t option ref
val _eliom_escaped_ident_1 : Maps_places_i18n.t option ref
val update_language : Maps_places_i18n.t -> unit Lwt.t
val _eliom_fragment_ea'eliom_inferred_type__O92 : unit Eliom_client_value.t option ref
val _eliom_escaped_ident_2 : Maps_places_i18n.t option ref

After further investigation, the bug seems to be related to my project name... When I use any other name, It works like charm but maps_places always generates the same bug.

I tried to make varie by using _ or not in the project name, but I can't find any pattern.

@remyzorg remyzorg changed the title Inferred of client value not found on '_language.eliom' Inferred type of client value not found on '_language.eliom' Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant