It seemed to work for a moment but then again only gives me 500 both on local and heroku. Maybe it is because I am using sass? Logs:
Asked
Active
Viewed 35 times
-1
-
[Please don't post screenshots of text](https://meta.stackoverflow.com/a/285557/354577). They can't be searched or copied and offer poor usability. Instead, paste the code as text directly into your question. If you select it and click the `{}` button or Ctrl+K the code block will be indented by four spaces, which will cause it to be rendered as code. – ChrisGPT was on strike Mar 25 '20 at 22:22
-
Welcome to Stack Overflow. Please take the [tour] and read [ask]. We're not going to go off-site to dig through your code. Questions must be self-contained. Please include the relevant code _here_, directly in your question. – ChrisGPT was on strike Mar 25 '20 at 22:23
1 Answers
0
The error is telling you that Webpacker cannot find a stylesheet named "stylesheet". It looks like, in your application layout, you have the wrong name for your stylesheet bundle; the name isn't "stylesheet", it's "application" (source).
The line should read:
= stylesheet_pack_tag "application"
The canonical name "application" maps to the name of the pack file you are using as Webpack's entry point in app/javascript/packs
which I can see in your source is application.js
.

rossta
- 11,394
- 1
- 43
- 47