Maxime Garcia
Maxime Garcia
I needed that and saw that the work is done by #103.
In a fixes.d.ts I added ```ts /* * Namespace 'React' has no exported member 'StatelessComponent' * in formik, react-mapbox-gl */ declare namespace React { type StatelessComponent = React.FunctionComponent; } ```
In the meantime, pinning to `"sharp": "0.30.1"` in `resolutions` avoids the crash for me.
My temporary fix: File `lib/tasks/auto_generate_diagram.rake` ```ruby # frozen_string_literal: true if Rails.env.development? RailsERD.load_tasks # TMP Fix for Rails 6. Rake::Task["erd:load_models"].clear namespace :erd do task :load_models do say "Loading application environment..." Rake::Task[:environment].invoke...
Same thing. ```ts const QUERY = gql` query AlertListOp($state: String) { alerts(state: $state) { ...AlertListFragment } ${FRAGMENT} `; ``` => `GraphQL invalid syntax: Syntax Error GraphQL (8:3) Unexpected Name "FRAGMENT"`...
I thought about this way, but i saw that some folks wanted to be able to use Mongo (the official ruby driver from 10gen) with Mongoid 3. I'll investigate this...