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

Fix: npm deploy command does not work in local environment #88

Open
6 of 10 tasks
pankajjs opened this issue Jan 1, 2025 · 0 comments
Open
6 of 10 tasks

Fix: npm deploy command does not work in local environment #88

pankajjs opened this issue Jan 1, 2025 · 0 comments

Comments

@pankajjs
Copy link

pankajjs commented Jan 1, 2025

Issue Description

The npm deploy command does not work as expected.

Expected Behavior

  • The command name should be npm run deploy in Readme file.
  • The npm run deploy command should work without any error.

Current Behavior

  • The command name is npm deploy
  • While running the npm run deploy command, it throws an error saying '1234' is not a valid KV namespace ID and stops the execution.

Solution

  • In local environment, developers have to generate namespace by running this command npx wrangler kv:namespace create "CronJobsTimestamp" and replacing the id of kv_namespaces for local env in wrangler.toml file with id generated from npm run deploy command.
  • The above solution must be there in README file.

Screenshots

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Steps to Reproduce

  1. Clone the Repo and Run npm install
  2. Run npm run deploy

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
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

1 participant