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

Error after running pnpm dev in root directory #33

Open
agusnarestha opened this issue Nov 5, 2024 · 1 comment
Open

Error after running pnpm dev in root directory #33

agusnarestha opened this issue Nov 5, 2024 · 1 comment

Comments

@agusnarestha
Copy link

Issues: Error Running pnpm dev in sdk-playground
Description: When I try to run pnpm dev in the root directory of sdk-playground/, I encounter an error related to command recognition.

Steps to Reproduce:

  1. Run pnpm install in both sdk-playground/client and sdk-playground/server.
  2. Run pnpm dev from the root directory (sdk-playground/).
  3. Observe the error messages in the console.

Expected Behavior The development servers should start without errors.

Actual Behavior The following error appears in the console:

Scope: 2 of 3 projects
packages/server dev$ ./handle-wrangler-secrets.sh dev local && wrangler dev src/index.ts --env dev
packages/client dev$ vite --mode dev
packages/server dev: '.' is not recognized as an internal or external command,
packages/server dev: operable program or batch file.
packages/server dev: Failed
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] dev: ./handle-wrangler-secrets.sh dev local && wrangler dev src/index.ts --env dev
Exit status 1
ELIFECYCLE  Command failed with exit code 1.

@Arjunmehta312
Copy link

Suggested Solution

To resolve this issue, you can use a shell environment

  1. Use Git Bash or WSL
  2. Navigate to the sdk-playground/ root directory.
  3. Run pnpm install in both sdk-playground/client and sdk-playground/server.
  4. Run pnpm dev from the root folder.

If the problem still occurs LMK I'll try something else.q

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