Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a8a08d1

Browse files
authored
[web] Remove outdated information in web_ui/README (#38006)
We don't do Dart snapshots anymore (since #37639).
1 parent 6bbf3e0 commit a8a08d1

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

lib/web_ui/README.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff 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
249249
use.
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

286253
To build CanvasKit locally, you must first set up your gclient config to

0 commit comments

Comments
 (0)