Forge App npm run start?

@JeremiRoivas I know its super late now.

However, I’ve just recently started to build forge apps myself and found a workaround for running them locally (for some use cases atleast) like a normal react app.

The idea is to mock the bridge.js file. Here are the steps I had to do.

  1. Copy the following code to the bridge.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCallBridge = void 0;

const getCallBridge = () => {
  // Return a function that logs its parameters and returns a Promise that immediately resolves to `true`
  return (action, payload) => {
    switch (action) {
      case "getContext":
        return Promise.resolve({
          cloudId: "",
          localId:
            "",
          moduleKey: "extended-form-app",
          siteUrl: "your-site-url",
          extension: {
            type: "jiraServiceManagement:portalRequestCreatePropertyPanel",
            portal: { id: 1 },
            request: { typeId: 34 },
            issue: {id: '2223'}
          },
          accountId: "xxxxxx",
          license: null,
          timezone: "Asia/Calcutta",
          locale: "en-GB",
          theme: null,
        });
    }
    return Promise.resolve(true);
  };
};

exports.getCallBridge = getCallBridge;

  1. Remove static/your-app/node_modules/.cache folder

Now simply run npm start in your static folder and see if this app runs fine or not.