0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

「use "resolutions" to ensure only one version is installed.」←これに従っても解決できない場合

Last updated at Posted at 2021-10-01

下記のようなエラーがでたため、package.jsonにresolutions:{}追記したけど解決しなくて頭抱えてたけど、NODE_ENV=stagingを消したら直った。
こんな事する人あんまいないと思うけど、全然ググっても出てこなかったのでメモ。

vendor.js?61b0eac928c8c8d9443a:65 Uncaught Error: Cannot use e "__Schema" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?