Closed ruedap closed 6 years ago
I have a problem with Sass::SyntaxError in LetterOpenerWeb::Letters#index occurs.
Sass::SyntaxError in LetterOpenerWeb::Letters#index
# With letter_opener_web working properly $ mkdir -p node_modules/foobar $ touch node_modules/foobar/application.scss $ echo ".foo { top: \$bar; }" > node_modules/foobar/application.scss $ open http://localhost:3000/letter_opener # An error occurs
Is this a bug? Why are you reading application.scss under the node_modules directory?
application.scss
node_modules
Thanks 😃
I was wrong. This behavior seems to be the default from Rails 5.1. 😇 https://github.com/rails/rails/pull/26836/files#diff-d5d2957cdc17a0b428be60e72e8dacd8R10
I have a problem with
Sass::SyntaxError in LetterOpenerWeb::Letters#index
occurs.Environment
Steps to reproduce the problem
Error
Is this a bug? Why are you reading
application.scss
under thenode_modules
directory?Thanks 😃