title: Rails v5.1.4 Yarn node_modules //= require not working
body: <p>I am simply attempting to require in some javascript node modules that I installed through yarn. My impression, and it has worked for some others is you do //= require [package_name] in application.js.</p>
  
  <p>The minified dist file is the same name as the package name.</p>
  
  <p>The tree structure of the module is:</p>
  
  <pre><code>clipboard
    dist
      clipboard.js  
      clipboard.min.js
    composer.json
    contributing.md
    package.js
    package.json
    readme.md
    webpack.config.js
  </code></pre>
  
  <p>I am not using webpack. I get this error:</p>
  
  <pre><code>Sprockets::FileNotFound in PaperWallets#template
  
  couldn't find file 'clipboard' with type 'application/javascript'
  Checked in these paths: 
    /home/me/Desktop/Rails/paperwallet/app/assets/config
    /home/me/Desktop/Rails/paperwallet/app/assets/images
    /home/me/Desktop/Rails/paperwallet/app/assets/javascripts
    /home/me/Desktop/Rails/paperwallet/app/assets/stylesheets
    /home/me/.rvm/gems/ruby-2.4.1/gems/coffee-rails-4.2.2/lib/assets/javascripts
    /home/me/.rvm/gems/ruby-2.4.1/gems/jquery-rails-4.3.1/vendor/assets/javascripts
    /home/me/.rvm/gems/ruby-2.4.1/gems/actioncable-5.1.4/lib/assets/compiled
    /home/me/.rvm/gems/ruby-2.4.1/gems/actionview-5.1.4/lib/assets/compiled
    /home/me/.rvm/gems/ruby-2.4.1/gems/turbolinks-source-5.0.3/lib/assets/javascripts
    /home/me/Desktop/Rails/paperwallet/node_modules
    /home/me/.rvm/gems/ruby-2.4.1/gems/bootstrap-sass-3.3.7/assets/stylesheets
    /home/me/.rvm/gems/ruby-2.4.1/gems/bootstrap-sass-3.3.7/assets/javascripts
    /home/me/.rvm/gems/ruby-2.4.1/gems/bootstrap-sass-3.3.7/assets/fonts
    /home/me/.rvm/gems/ruby-2.4.1/gems/bootstrap-sass-3.3.7/assets/images
  
  Extracted source (around line #17):
  15: //= require jssha
  16: //= require wallet-address-validator
  17: //= require clipboard
  18: //= require bootstrap-sprockets
  19: //= require turbolinks
  20: //= require_tree .
  </code></pre>
  
  <p>What am I doing wrong? It has the same tree structure as wallet-address-validator but I can't require it in?</p>