mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 13:17:12 -05:00
Revert "update Svelte"
This reverts commit 0ca9a6b009.
Unfortunately this is breaking the Windows build. It doesn't seem
to break other platforms, so I'm wondering if maybe it's the Windows
path name or some Windows-specific handling in rules_nodejs that is
to blame:
(08:31:03) ERROR: C:/buildkite-agent/builds/win-ci/ankitects/anki-ci/ts/graphs/BUILD.bazel:21:15:
Svelte ts/graphs/FutureDue.svelte.mjs failed: (Exit 1): bash.exe failed: error executing command C:/msys64/usr/bin/bash.exe -c ... (remaining 1 argument(s) skipped)
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\bazel\ankici\base\external\build_bazel_rules_svelte_deps\node_modules\svelte\compiler.mjs
at Object.Module._extensions..mjs (internal/modules/cjs/loader.js:1007:9)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\bazel\ankici\base\external\build_bazel_rules_svelte\internal\svelte.js:10:16)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
This commit is contained in:
parent
1e57a753da
commit
58a154c58f
1 changed files with 3 additions and 3 deletions
|
|
@ -120,11 +120,11 @@ def register_repos():
|
|||
maybe(
|
||||
http_archive,
|
||||
name = "build_bazel_rules_svelte",
|
||||
strip_prefix = "rules_svelte-anki-2021-03-20",
|
||||
strip_prefix = "rules_svelte-anki-2021-02-06",
|
||||
urls = [
|
||||
"https://github.com/ankitects/rules_svelte/archive/anki-2021-03-20.tar.gz",
|
||||
"https://github.com/ankitects/rules_svelte/archive/anki-2021-02-06.tar.gz",
|
||||
],
|
||||
sha256 = "88e2f5660e3738bacac5eeb297ce268cc3c8dd4c1e3b99d5bb0f5762bd6c1596",
|
||||
sha256 = "f77a96ae5a354f8c3c24045f3bee8521bfe56224292d4f71184a3382784640eb",
|
||||
)
|
||||
|
||||
# translations
|
||||
|
|
|
|||
Loading…
Reference in a new issue