best-match-63820
04/12/2024, 5:18 PMpants package :: as it doesn't want to work with the js side (i followed the example-javascript repo). Could someone help me? https://github.com/xhyrom-utils/swish
It just throws error
19:17:29.69 [ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
NoSourceRootError: No source root found for `.`. See <https://www.pantsbuild.org/v2.19/docs/source-roots> for how to define source roots.
but i have source roots in pants.toml
[GLOBAL]
pants_version = "2.19.1"
backend_packages = [
"pants.backend.experimental.adhoc",
"pants.backend.experimental.go",
"pants.backend.experimental.javascript"
]
[source]
root_patterns = [
"/page"
]
[nodejs]
package_manager = "pnpm"
Sorry if this is not the right place to ask :D