Update the project to run with modern uv/bun (or python/nodejs) environment #7
@ -17,7 +17,7 @@ class CustomBuildHook(BuildHookInterface):
|
|||||||
npm = shutil.which("npm")
|
npm = shutil.which("npm")
|
||||||
if npm is None:
|
if npm is None:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"Bun or NodeJS `npm` is required for building but neither was found"
|
"Bun or NodeJS `npm` is required for building but neither was found\n Visit https://bun.com/"
|
||||||
)
|
)
|
||||||
# npm --prefix doesn't work on Windows, so we chdir instead
|
# npm --prefix doesn't work on Windows, so we chdir instead
|
||||||
os.chdir("frontend")
|
os.chdir("frontend")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user