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

Infisical command not found when i try to deploy the application on vercel #107

Closed
DarlonHenrique opened this issue Dec 9, 2022 · 5 comments
Labels
? question Further information is requested

Comments

@DarlonHenrique
Copy link

Describe the bug

I connect the infisical to my project and run locally, but when I do the push in my nextJs project, I can't deploy because vercel say to me insifical command not found how can I deploy without this error?

To Reproduce

Steps to reproduce the behavior:

  1. Add Infisical to the project following the documentation
  2. Make the Git Push
  3. See vercel fall in the caos because they dont know the command infisical
  4. See error

Expected behavior

vercel use the infisical secrets env or use they own secrets env, or show me how to set up the infisical with vercel

Screenshots

Screen Shot 2022-12-09 at 11 50 31 AM

Platform you are having the issue on:

MacOs BigSur, Vercel, NextJs

@maidul98
Copy link
Collaborator

maidul98 commented Dec 9, 2022

To make sure I understand, are you trying to run the infisical command in Vercel? If so the error message is correct since vercel doesn't have infisical installed. To support vercel, we will have an integration available next week so that your Vercel environment will have access to the same secrets you have in infisical. Let me know if I misunderstood your question

@maidul98 maidul98 added the ? question Further information is requested label Dec 9, 2022
@maidul98
Copy link
Collaborator

maidul98 commented Dec 9, 2022

Here is the tracking issue for Vercel integration #60

@DarlonHenrique
Copy link
Author

yeah, how can i dont run infisical on vercel? idk how can i stop using this on vercel

@DarlonHenrique
Copy link
Author

Screen Shot 2022-12-09 at 12 26 00 PM

i know this solve the problem, but, that not a good solution, look to verbose

@maidul98
Copy link
Collaborator

maidul98 commented Dec 9, 2022

You don't need to modify your package.json file at all. You can simply run the normal command you would to start your application in development mode.

In your terminal just run

infisical run -- npm run dev 

Let me know if this solves your issue

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

No branches or pull requests

2 participants