Skip to content

Mailgun key required in .env for developement  #484

Closed
@simonpfish

Description

@simonpfish

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request
  • Issue with development setup

Details about the issue:

  • Operating System: MacOSX 10.13.1
  • Steps to reproduce this:
    1. Fork the repo and clone it from scratch.
    2. Follow the instructions on the README to set up the development environment.
    3. Try to run npm start. It will fail with the following error message:
/Users/spf/src/open_source/p5.js-web-editor/node_modules/mailgun-js/lib/mailgun.js:15
    throw new Error('apiKey value must be defined!');

After adding MAILGUN_KEY=<mailgun-api-key> to the .env file everything started working okay, even with an incorrect key. Is this expected behavior for development or am I doing something wrong? If it is expected, maybe the README instructions for development should be updated to make this clearer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueA beginner-friendly issue, great for first-time contributorsHelp WantedWould love additional input or contributions!Type:TaskTasks tied specifically to developer operations and maintenance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions