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

Error en altjs.coffee #1

Open
Daniel-del-Castillo opened this issue Feb 19, 2021 · 1 comment · May be fixed by #2
Open

Error en altjs.coffee #1

Daniel-del-Castillo opened this issue Feb 19, 2021 · 1 comment · May be fixed by #2

Comments

@Daniel-del-Castillo
Copy link

Actualmente altjs.coffe no se puede ejecutar correctamente, ya que pegjs ha avanzado varias versiones y se han producido varios cambios que rompen la compatibilidad. Al principio, me encontré con un error porque el método buildParser ahora se llama generate. Después de cambiar esto encontré otro error que no supe arreglar:

GrammarError: Label "e" is already defined at line 5, column 11.

Parece que la gramática está mal definida, pero no entiendo bien cuál es el motivo.
Sin embargo, después de entrar al package.json del repositorio original probé a usar la versión 0.7.0 de pegjs y funciona perfectamente.
Escribo esta issue para dejar constancia de este problema a mis compañeros y no pierdan tanto tiempo como yo con este problema y para pedirle que cambie la versión de pegjs en el package.json de este repositorio.

@Daniel-del-Castillo Daniel-del-Castillo changed the title Error en altjs.coffe Error en altjs.coffee Feb 19, 2021
@Daniel-del-Castillo
Copy link
Author

Al final, después de estar mirando documentación he conseguido arreglarlo. Haré una PR.

@Daniel-del-Castillo Daniel-del-Castillo linked a pull request Feb 19, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant