I uninstalled everything and reinstalled, still the same issue is occurring! Not sure why this is happening...
Apr 17, 2020
6
Level 7
404 CSS File Doesnt Exist
Hi all, I'm stumped. I created a droplet on digitalocean, and uploaded my git repo through to laravel forge.
On localhost things render perfectly. However when I visit my website https://famijam.com the CSS is not rendering.
running npm run production 'build successful'. Asset /css/app.css and /js/app.js is highlighted yellow and says [emitted] [big] /js/app
REPO - https://github.com/PT-83/FamiJam
Upon inspection in chrome, I can see a few errors also:
[Vue warn]: Cannot find element: #app.js1381
Uncaught TypeError: Cannot set property 'onclick' of null
at Object../resources/js/app.js (app.js:12796)
at __webpack_require__ (app.js:20)
at Object.0 (app.js:12894)
at __webpack_require__ (app.js:20)
at app.js:84
at app.js:87
Failed to load resource: the server responded with a status of 404 ()
Layout.app
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'FamiJam') }}</title>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}" defer></script>
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.js" defer></script>
<!-- Fonts -->
<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
<link rel="/css/all.css">
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
Level 122
your file is in https://famijam.com/CSS/app.css
either rename the folder or change the link in your layout file
Please or to participate in this conversation.