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

Following the readme: No "targetPort" option specified or detected. #47

Closed
msevestre opened this issue May 4, 2022 · 4 comments
Closed

Comments

@msevestre
Copy link

I followed the step by step instructions (I believe) and I am getting the following error when running netlify dev

Rebuilding...
Done in 274ms.
◈ Netlify Dev ◈
◈ Injected build setting env var: SUPABASE_URL
◈ Injected build setting env var: SUPABASE_ANON_KEY
◈ Injected build setting env var: SESSION_SECRET
◈ Overriding command with setting derived from netlify.toml [dev] block: remix watch
◈ No "targetPort" option specified or detected.
ERROR: "dev:remix" exited with 1.

What should I do to make this work?

Thanks

@msevestre
Copy link
Author

Ok I needed to upgrade the CLI

@maxcell
Copy link
Contributor

maxcell commented May 4, 2022

@msevestre Glad you were able to resolve it yourself! Definitely a difficult error message to have resolved it with! What version of the CLI were you using?

@msevestre
Copy link
Author

@maxcell I think it was v3.x .. very old lol

@msevestre
Copy link
Author

And it took me a lot of time until I figured this out. Maybe a min supported cli version check somewhere could be helpful. At any rate, this is working great now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants