[RUBY] How to resolve Sprockets :: DoubleLinkError

It happened when I was working on teaching materials at an online school called Yanbaru Expert.

Appearance of Sprockets :: DoubleLinkError

I am creating a Rails message posting application, and when I changed the extension of the css file in the stylesheets folder to the scss file and checked the operation, "Sprockets :: DoubleLinkError" appeared.

The cause is interference between css file and scss file

There are 3 files, css file, min.css file and scss file in the stylesheets folder, and it seems that the css file and scss file interfered and an error occurred.

After deleting the css file and min.css file and checking the operation, the error was resolved.

However,,,

Also note the extension Easy Sass

When I restarted VScode, the css and min.css files were generated again. I've included Easy Sass in the extension, and it looks like it was doing something wrong. After disabling Easy Sass, the css and min.css files are no longer auto-generated.

And now I can operate without any error.

Recommended Posts

How to resolve Sprockets :: DoubleLinkError
How to resolve Git conflicts
How to resolve Mixed Content errors
[Technical memo] How to resolve errors
How to deploy
How to resolve errors when installing Rails 5.1.3
[Servlet / Ajax] How to resolve NoClassDefFoundError [Eclipse]
How to develop OpenSPIFe
How to call AmazonSQSAsync
How to use Map
How to write Rails
How to use rbenv
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
How to use collection_select
How to adapt Bootstrap
How to use Twitter4J
How to use active_hash! !!
How to install Docker
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to write dockerfile
How to uninstall Rails
How to install docker-machine
[How to use label]
How to make shaded-jar
How to write docker-compose
How to use identity
How to use hashes
How to write Mockito
How to create docker-compose
How to use JUnit 5
How to install MySQL
How to write migrationfile
How to build android-midi-lib
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
How to install ngrok
How to type backslash \
How to concatenate strings
How to resolve SSL_connect error in PayPal Ruby SDK
How to resolve errors when doing git push heroku master
How to delete BOM (UTF-8)
[Java] How to use Map
[rails] How to post images
[AWS] How to check logs
How to use Chain API
How to lower java version
[Java] How to use Map
How to use Priority Queuing
How to uninstall Java 8 (Mac)
How to write good code
Java --How to make JTable