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

Compiler Error #102

Open
sinasalek opened this issue Sep 27, 2016 · 0 comments
Open

Compiler Error #102

sinasalek opened this issue Sep 27, 2016 · 0 comments

Comments

@sinasalek
Copy link

sinasalek commented Sep 27, 2016

After updating to the latest version of twig(v1.25.0), twigjs compiler no longer works and i receive the following error. the previous version of twig that it was working fine was (v1.24.1)
Any suggestion ?

[Twig_Error_Syntax]
An exception has been thrown during the compilation of a template ("Node "parent" does not exist for Node "Twig_Node_Module".") in "panel/template.twig".

Backtrace:

Exception trace:
() at vendor\twig\twig\lib\Twig\Environment.php:701
Twig_Environment->compileSource() at src\Application\Logic\Commands\BuildAssets.php:106
Application\Logic\Commands\BuildAssets->execute() at vendor\symfony\console\Command\Command.php:256
Symfony\Component\Console\Command\Command->run() at vendor\symfony\console\Application.php:818
Symfony\Component\Console\Application->doRunCommand() at vendor\symfony\console\Application.php:186
Symfony\Component\Console\Application->doRun() at vendor\symfony\console\Application.php:117
Symfony\Component\Console\Application->run() at vendor\ivoba\console-service-provider\src\Console\Application.php:65
Ivoba\Silex\Console\Application->run() at src\console.php:7


[LogicException]
Node "parent" does not exist for Node "Twig_Node_Module".


Exception trace:
 () at vendor\twig\twig\lib\Twig\Node.php:202
 Twig_Node->getNode() at vendor\jms\twig-js\src\TwigJs\Compiler\ModuleCompiler.php:60
 TwigJs\Compiler\ModuleCompiler->compileGetParent() at vendor\jms\twig-js\src\TwigJs\Compiler\ModuleCompiler.php:36
 TwigJs\Compiler\ModuleCompiler->compileTemplate() at vendor\jms\twig-js\src\TwigJs\Compiler\ModuleCompiler.php:29
 TwigJs\Compiler\ModuleCompiler->compile() at vendor\jms\twig-js\src\TwigJs\JsCompiler.php:349
 TwigJs\JsCompiler->subcompile() at vendor\jms\twig-js\src\TwigJs\JsCompiler.php:328
 TwigJs\JsCompiler->compile() at vendor\twig\twig\lib\Twig\Environment.php:680
 Twig_Environment->compile() at vendor\twig\twig\lib\Twig\Environment.php:696
 Twig_Environment->compileSource() at src\Application\Logic\Commands\BuildAssets.php:106
 Application\Logic\Commands\BuildAssets->execute() at vendor\symfony\console\Command\Command.php:256
 Symfony\Component\Console\Command\Command->run() at vendor\symfony\console\Application.php:818
 Symfony\Component\Console\Application->doRunCommand() at vendor\symfony\console\Application.php:186
 Symfony\Component\Console\Application->doRun() at vendor\symfony\console\Application.php:117
 Symfony\Component\Console\Application->run() at vendor\ivoba\console-service-provider\src\Console\Application.php:65
 Ivoba\Silex\Console\Application->run() at src\console.php:7
@sinasalek sinasalek changed the title Compiler Errors Compiler Error Sep 27, 2016
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