Skip to content

Tried to update this to build again, failed. #86

Description

@voltagex

First issue:

CANNOT RUN WITH NODE 14.17.5
Electron Packager requires Node 4.0 or above.

OK cool, this is fixed in electron/packager#863.

I will save anyone who stumbles upon this some time, although these package versions are probably out of date as soon as I hit submit:

  "devDependencies": {
    "electron-packager": "^15.3.0",
    "eslint": "^7.32.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-plugin-import": "^2.24.1",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-react": "^7.24.0",
    "eslint-plugin-react-hooks": "^4.2.0",
    "jasmine": "^3.8.0"
  },
  "dependencies": {
    "codemirror": "^5.62.3",
    "electron": "^13.2.1",
    "electron-config": "^2.0.0",
    "electron-context-menu": "^3.1.1",
    "electron-default-menu": "^1.0.2",
    "git-validate": "^2.2.2",
    "is-url": "^1.2.2",
    "jquery": "^3.1.1",
    "js-beautify": "^1.6.4",
    "json5": "^2.2.0",
    "jsonlint": "^1.6.2",
    "menu": "^0.2.5",
    "mkdirp": "^1.0.4",
    "node-jq": ">=0.5.0",
    "proxyquire": "^2.1.3",
    "superagent": "^6.1.0"
  }

I got as far as it building again, but the UI doesn't load and the following errors are in Developer Tools

Uncaught ReferenceError: require is not defined
    at json5-lint.js:3
index.html:31 Uncaught ReferenceError: require is not defined
    at index.html:31
jquery-ui.js:14 Uncaught ReferenceError: jQuery is not defined
    at jquery-ui.js:14
    at jquery-ui.js:16
index.html:67 Uncaught ReferenceError: require is not defined
    at index.html:67

I just wanted to view some JSON and do some filtering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions