Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run postgres-meta development #575

Open
Amogh-Bharadwaj opened this issue Apr 27, 2023 · 0 comments
Open

Unable to run postgres-meta development #575

Amogh-Bharadwaj opened this issue Apr 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Amogh-Bharadwaj
Copy link

Amogh-Bharadwaj commented Apr 27, 2023

Discussed in https://github.com/orgs/supabase/discussions/13966

Originally posted by Amogh-Bharadwaj April 25, 2023
Hi!
Reproduction steps:
I cloned the latest postgres-meta repo , set env vars and ran npm run dev (after npm installing as well) as instructed.
Unfortunately I ran into the following SyntaxError: Unexpected identifier issue:

❯ npm run dev

> @supabase/postgres-meta@0.0.0-automated dev
> trap 'npm run db:clean' INT && run-s db:clean db:run && nodemon --exec node --loader ts-node/esm src/server/server.ts | pino-pretty --colorize


> @supabase/postgres-meta@0.0.0-automated db:clean
> cd test/db && docker-compose down

Removing network db_default
WARNING: Network db_default not found.

> @supabase/postgres-meta@0.0.0-automated db:run
> cd test/db && docker-compose up --detach && sleep 5

Creating network "db_default" with the default driver
Creating db_db_1 ... done
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts,json
[nodemon] starting `node --loader ts-node/esm src/server/server.ts`
(node:224025) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
SyntaxError: Unexpected identifier
    at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:139:18)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:236:14)
[nodemon] app crashed - waiting for file changes before starting...

OS: Ubuntu 22.04 system.
Node version: v16.13.2
Any help would be appreciated!

@Amogh-Bharadwaj Amogh-Bharadwaj added the bug Something isn't working label Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant