Фреймворк svelte. Исправление ошибки в console.log.
Ошибки вида:
request @ (index):11
(anonymous) @ (index):11
setTimeout (async)
xhr.onreadystatechange @ (index):11
XMLHttpRequest.send (async)
request @ (index):11
(anonymous) @ (index):11
setTimeout (async)
xhr.onreadystatechange @ (index):11
XMLHttpRequest.send (async)
request @ (index):11
(anonymous) @ (index):11
setTimeout (async)
xhr.onreadystatechange @ (index):11
XMLHttpRequest.send (async)
request @ (index):11
load @ (index):11
loadToolbar @ (index):11
(anonymous) @ (index):11
(anonymous) @ (index):11
(index):11 GET http://localhost/symfony-svelte/public/_wdt/c402cd 404 (Not Found)
Для исправления создать файл .htaccess в корне сайта и записать туда пути к рабочей директории:
создать файл и добавить туда
.htaccess
RewriteEngine On
RewriteBase /svelte/public/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /svelte/public/index.php [L]
</IfModule>
![[!] (plugin svelte) Error: Cannot find any of modules: node-sass,sass [!] (plugin svelte) Error: Cannot find any of modules: node-sass,sass](https://ploshadka.net/wp-content/plugins/wp-fastest-cache-premium/pro/images/blank.gif)