Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reloading Issue Triggering #35716

Closed
BintLopez opened this issue Mar 22, 2019 · 1 comment
Closed

Reloading Issue Triggering #35716

BintLopez opened this issue Mar 22, 2019 · 1 comment

Comments

@BintLopez
Copy link

BintLopez commented Mar 22, 2019

[ PLEASE DISREGARD -- I opened this in the wrong repo 馃槵 -- sorry!!! ]

Related Rails issue: #32700

Steps to reproduce

  • Creating a new rails project with ruby 2.5.3 and rails 6.0.0.beta3
  • Add gem 'factory_bot_rails', '~> 5.0', '>= 5.0.1' to the gemfile
  • Install gems bundle install
  • boot up the rails server bundle exec rails s
  • view errors in server output

Expected behavior

Adding factory_bot_rails gem to a rails project should not trigger ** ERROR: directory is already being watched! ** when booting up a rails server or console

Actual behavior

After including the gem in my project, I'm getting the following errors in my server when running the rails server...

be rails s
=> Booting Puma
=> Rails 6.0.0.beta3 application starting in development 
=> Run `rails server --help` for more startup options
        ** ERROR: directory is already being watched! **

        Directory: /path/to/my/app/node_modules/.bin/compression-webpack-plugin

        is already being watched through: /path/to/my/app/node_modules/compression-webpack-plugin

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /path/to/my/app/node_modules/.bin/mini-css-extract-plugin

        is already being watched through: /path/to/my/app/node_modules/mini-css-extract-plugin

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
(node:33074) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
        ** ERROR: directory is already being watched! **

        Directory: /path/to/my/app/node_modules/@rails/webpacker/node_modules/.bin/compression-webpack-plugin

        is already being watched through: /path/to/my/app/node_modules/compression-webpack-plugin

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
        ** ERROR: directory is already being watched! **

        Directory: /path/to/my/app/node_modules/@rails/webpacker/node_modules/.bin/mini-css-extract-plugin

        is already being watched through: /path/to/my/app/node_modules/mini-css-extract-plugin

        MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
Puma starting in single mode...
* Version 3.12.1 (ruby 2.5.3-p105), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000

System configuration

Rails version: 6.0.0.beta3

Ruby version: 2.5.3

@BintLopez
Copy link
Author

Whoops. Opened this on the wrong repo 馃槵 ... closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant