I'm running Magento 2.2.2 in developer mode.
When I try to display a page, the static files are not available unless I remove all the pub folder content with
rm -R pub/static/*
Once it's done, the static files are available only one time. If I refresh the page, they're gone :
Loading failed for the <script> with source “pub/static/adminhtml/Magento/backend/en_US/requirejs/require.js”.
(same error for several other js and css files)
setup:static-content:deploy but it doesn't fix the issue.
After working on it for several hours, my guess is that something is wrong with the symlink but I don't get where, when I use
readlink the path is correct :
Any help would be greatly appreciated.