You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
[ PLEASE DISREGARD -- I opened this in the wrong repo 馃槵 -- sorry!!! ]
Related Rails issue: #32700
Steps to reproduce
gem 'factory_bot_rails', '~> 5.0', '>= 5.0.1'
to the gemfilebundle install
bundle exec rails s
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 consoleActual behavior
After including the gem in my project, I'm getting the following errors in my server when running the rails server...
System configuration
Rails version: 6.0.0.beta3
Ruby version: 2.5.3
The text was updated successfully, but these errors were encountered: