Troubleshooting

Below are some quick fixes to help you troubleshoot some common issues in the development environment. 

No space left on device

Sometimes Yarn cache runs wild and pollutes the disc space in your Frontastic Machine or the logs run full due to a high error rate. To clean it up, destroy your machine in the Frontastic Editor and create a new one.

Symfony doesn't pick up my changes

In some cases, Symfony doesn't pick up changes (for example, when you created a new bundle). 

Firstly, clear your Symfony cache the standard way:

$ bin/console cache:clear

If that doesn't work, you can try force deleting the cache on the disk:

$ rm -r /var/cache/frontastic/<project>/dev/*

Here <project> is the directory name of the project you are working with.

You can also clear all caches with a single command at once:

$ rm -r /var/cache/frontastic/*/*/*

PLEASE NOTE: If you happen to delete some of the directories on the way of this path, you might run into trouble that these directories are missing afterward. ant prepare will fix this for you.

High load when provisioning under Windows

While provisioning, Yarn will install node packages and its dependencies. Node packages consist of many small files and every file has to be inspected by Windows Defender for malware and indexed by the Windows Search Index. This puts a high load on the system and isn't useful for node packages.

You can exclude the project directory from Windows Defender and Windows Search Index to get better performance.


‹ Back to article list

Next article ›

Dependency inside a private npm-repository

Still need help? Contact us Contact us