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

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

Open
voltagex opened this issue Aug 21, 2021 · 0 comments
Open

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

voltagex opened this issue Aug 21, 2021 · 0 comments

Comments

@voltagex
Copy link

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.

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