ardatan/graphql-mesh

Running mesh-serve blank, throws the same error multiple time

kamilkisiela opened this issue · 0 comments

Issue workflow progress

  1. run mesh-server with no config, flags, just blank
~/Downloads ❯ ./mesh-serve                                             15:31:44
(node:83582) Warning: Currently the require() provided to the main script embedded into single-executable applications only supports loading built-in modules.
To load a module from disk after the single executable application is launched, use require("module").createRequire().
Support for bundled module loading or virtual file systems are under discussions in https://github.com/nodejs/single-executable
(Use `mesh-serve --trace-warnings ...` to show where the warning was created)


[2024-08-08T13:31:52.682Z] INFO  Mesh Serve Searching for default config files
[2024-08-08T13:31:53.704Z] INFO  Mesh Serve No config loaded, using defaults
[2024-08-08T13:31:53.704Z] INFO  Mesh Serve Loading Supergraph from supergraph.graphql
[2024-08-08T13:31:53.707Z] Mesh Serve WARN  If you want to enable hot reloading when supergraph.graphql changes, install "@parcel/watcher"
[2024-08-08T13:31:53.716Z] INFO  Mesh Serve Starting server on http://0.0.0.0:4000/

<starts here>

[2024-08-08T13:31:56.883Z] ERROR Mesh Serve Failed to load Supergraph Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.884Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.884Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.894Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.895Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.900Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.900Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.906Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.906Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.909Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.909Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.913Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)
[2024-08-08T13:31:56.913Z] ERROR Mesh Serve Error: You must provide a supergraph schema in the `supergraph` config or point to a supergraph file with `--supergraph` parameter or `HIVE_CDN_ENDPOINT` environment variable or `./supergraph.graphql` file
    at ./bundle/bin.cjs:86264:23
    at async handle (./bundle/bin.cjs:49484:13)