This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -248,39 +248,6 @@ Instead, we update this file manually once in a while.
248248` canvaskit_lock.yaml` locks the version of CanvasKit for tests and production
249249use.
250250
251- # # Troubleshooting
252-
253- # ## Can't load Kernel binary: Invalid kernel binary format version.
254-
255- Sometimes `.dart_tool` cache invalidation fails, and you'll end up with a
256- cached version of `felt` that is not compatible with the Dart SDK that you're
257- using.
258-
259- In that case, any invocation to `felt` will fail with :
260-
261- ` ` `
262- Can't load Kernel binary: Invalid kernel binary format version.
263- ` ` `
264-
265- The solution is to delete the cached `felt.snapshot` files under `lib/web_ui` :
266-
267- ` ` `
268- rm .dart_tool/felt.snapshot*
269- ` ` `
270-
271- # # Hacking on the `felt` tool itself
272-
273- If you are making changes in the `felt` tool itself, you need to be aware of
274- Dart snapshots. We create a Dart snapshot of the `felt` tool to make the startup
275- faster.
276-
277- To run `felt` from sources, disable the snapshot using the `FELT_USE_SNAPSHOT`
278- environment variable :
279-
280- ` ` `
281- FELT_USE_SNAPSHOT=false felt <command>
282- ` ` `
283-
284251# # Building CanvasKit
285252
286253To build CanvasKit locally, you must first set up your gclient config to
You can’t perform that action at this time.
0 commit comments