I need a little help with monorepo with go and js....
# general
b
I need a little help with monorepo with go and js. Currently i'm fighting with the
pants 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
Copy code
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
Copy code
[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