diff --git a/doctor/package.json b/doctor/package.json index 566a0f097..4a56a9549 100644 --- a/doctor/package.json +++ b/doctor/package.json @@ -1,6 +1,6 @@ { "name": "flipper-doctor", - "version": "0.2.1", + "version": "0.2.2", "description": "Utility for checking for issues with a flipper installation", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/doctor/src/environmentInfo.ts b/doctor/src/environmentInfo.ts index f810bdfa7..0e59800bd 100644 --- a/doctor/src/environmentInfo.ts +++ b/doctor/src/environmentInfo.ts @@ -32,6 +32,9 @@ export type EnvironmentInfo = { }; export async function getEnvInfo(): Promise { + // Temporary fix for https://github.com/facebook/flipper/issues/667 until it properly fixed in 'envinfo'. + process.env.JAVA_OPTS = + '-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'; return JSON.parse( await run( { diff --git a/package.json b/package.json index edabef149..469abce93 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "emotion": "^10.0.23", "expand-tilde": "^2.0.2", "express": "^4.15.2", - "flipper-doctor": "^0.2.1", + "flipper-doctor": "^0.2.2", "fs-extra": "^8.0.1", "immer": "^5.0.1", "immutable": "^4.0.0-rc.12", diff --git a/yarn.lock b/yarn.lock index f322b961e..3d8c6e7c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4147,10 +4147,10 @@ flatted@^2.0.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg== -flipper-doctor@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/flipper-doctor/-/flipper-doctor-0.2.1.tgz#aed801c5f12a012a555a0d82e4b93bce88263f3f" - integrity sha512-JjEEEMWWxD4P899SX7huVMr44ERmGSeUZk+IAgWFhHxCvrQDoFYGjK2GFvwMn6vV08RpEPxBXiYhflnSOk/wJg== +flipper-doctor@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/flipper-doctor/-/flipper-doctor-0.2.2.tgz#ad51882bd82fea105034eab4db04aa9da2e45fdd" + integrity sha512-bi5xO5GO0LzwEHif2k4gpL4aXlt70tts2wxTsTZS4ng6VykV/5qlawIcOg5vn57+rsito+zWsyUhYEMgKu0BZg== dependencies: "@types/node" "^12.12.12" envinfo "^7.4.0"