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

Installation Debugging Solutions #400

Open
amilajack opened this issue Sep 20, 2016 · 33 comments
Open

Installation Debugging Solutions #400

amilajack opened this issue Sep 20, 2016 · 33 comments

Comments

@amilajack
Copy link
Member

amilajack commented Sep 20, 2016

Installation Failure

This aims to be a list of solutions for installation issues with this project:

  1. Fix node-gyp issues:
    Follow the steps in https://github.com/nodejs/node-gyp#installation. You don't need to install node-gyp but make sure that you have the correct environment setup for your OS.

  2. Test installation against latest yarn/node version

  3. Fix Caching Issues

    rm -rf node_modules &&
    yarn cache clean &&
    yarn &&
    yarn electron-rebuild &&
    yarn dev
    
  4. If you're on Windows, try using cmder

Debugging Release Builds

DEBUG_PROD=true yarn build && DEBUG_PROD=true yarn start

@chentsulin
Copy link
Member

@TimothyLe Please be watchful with the wording. In such a OSS project, no one owes you anything.

@barbalex
Copy link

barbalex commented Nov 4, 2016

Comment Lines 54 and 66 in main.development.js, repackage, and open devtools.

are those line numbers still correct?

@amilajack
Copy link
Member Author

@barbalex thanks for letting me know. I just updated my comment to reflect those changes

@barbalex
Copy link

The links to the lines miss the /app in https://github.com/chentsulin/electron-react-boilerplate/blob/master/app/main.development.js

@amilajack
Copy link
Member Author

My bad. Should have checked that. Fixed now

@pirocoder1998
Copy link

Hi, Is anyone please help me, I'm trying to upload my electron app in app store but getting this App sandbox not enabled issue. I'm using the same boilerplate.
Thanks

Asset validation failed (90296)
App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list:

My entitlement file

com.apple.security.app-sandbox com.apple.security.cs.allow-unsigned-executable-memory com.apple.security.cs.allow-jit com.apple.security.device.audio-input

@SLusenti
Copy link

hi all,

i'm trying to install internxt on alpine so i download the sourcecode 2.0.10
but when i run " npm install"
it gaves me this error

npm error code E403
npm error 403 403 Forbidden - GET https://npm.pkg.github.com/download/@internxt/eslint-config-internxt/1.0.9/d2dddb6a5809873ce717507f8d9dbc5964f6d0f4 - Permission permission_denied: The token provided does not match expected scopes.

can someone explain the correct steps to get the installations of the dependencies?

(is the firs time i work with github token)

@zImage-de
Copy link

hi all,

i'm trying to install internxt on alpine so i download the sourcecode 2.0.10 but when i run " npm install" it gaves me this error

npm error code E403
npm error 403 403 Forbidden - GET https://npm.pkg.github.com/download/@internxt/eslint-config-internxt/1.0.9/d2dddb6a5809873ce717507f8d9dbc5964f6d0f4 - Permission permission_denied: The token provided does not match expected scopes.

can someone explain the correct steps to get the installations of the dependencies?

(is the firs time i work with github token)

@SLusenti : could you solve this issue with internxt ... I have the same probleme mit internxt on arm (raspi) platform ...

@fhfelipefh
Copy link

`PS C:\stores-general-dashboard> npm install
npm WARN skipping integrity check for git dependency ssh://[email protected]/electron/node-gyp.git

postinstall
ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll

• electron-builder version=24.13.3
• loaded configuration file=package.json ("build" field)
• installing production dependencies platform=win32 arch=x64 appDir=C:\stores-general-dashboard\release\app

build:dll
cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts

✘ webpack v5.97.1 is not yet supported in the Community edition of Console Ninja.
We are working hard on it for you https://tinyurl.com/3h9mtwra.

Estimated release dates:

  • Community users: around 4th February, 2025 (subject to team availability)
  • PRO users: priority access is available now

ERROR in ./node_modules/terser-webpack-plugin/dist/utils.js 407:6-26
Module not found: Error: Can't resolve 'uglify-js' in 'C:\stores-general-dashboard\node_modules\terser-webpack-plugin\dist'
@ ./node_modules/terser-webpack-plugin/dist/index.js 15:4-22
@ ./node_modules/webpack/lib/config/defaults.js 1473:25-57
@ ./node_modules/webpack/lib/index.js 370:10-66
@ ./node_modules/dotenv-webpack/dist/index.js 72:78-109
@ ./node_modules/dotenv-webpack/browser.js 1:15-40
@ dll renderer renderer[8]

ERROR in ./node_modules/terser-webpack-plugin/dist/utils.js 485:14-34
Module not found: Error: Can't resolve '@swc/core' in 'C:\stores-general-dashboard\node_modules\terser-webpack-plugin\dist'
@ ./node_modules/terser-webpack-plugin/dist/index.js 15:4-22
@ ./node_modules/webpack/lib/config/defaults.js 1473:25-57
@ ./node_modules/webpack/lib/index.js 370:10-66
@ ./node_modules/dotenv-webpack/dist/index.js 72:78-109
@ ./node_modules/dotenv-webpack/browser.js 1:15-40
@ dll renderer renderer[8]

ERROR in ./node_modules/terser-webpack-plugin/dist/utils.js 568:18-36
Module not found: Error: Can't resolve 'esbuild' in 'C:\stores-general-dashboard\node_modules\terser-webpack-plugin\dist'
@ ./node_modules/terser-webpack-plugin/dist/index.js 15:4-22
@ ./node_modules/webpack/lib/config/defaults.js 1473:25-57
@ ./node_modules/webpack/lib/index.js 370:10-66
@ ./node_modules/dotenv-webpack/dist/index.js 72:78-109
@ ./node_modules/dotenv-webpack/browser.js 1:15-40
@ dll renderer renderer[8]

ERROR in ../Users/Felipe/.vscode/extensions/wallabyjs.console-ninja-1.0.381/out/buildHook/index.js
[tsl] ERROR
TS18002: The 'files' list in config file 'tsconfig.json' is empty.
@ ./node_modules/webpack/lib/index.js 2:279-386 2:37-153
@ ./node_modules/dotenv-webpack/dist/index.js 72:78-109
@ ./node_modules/dotenv-webpack/browser.js 1:15-40
@ dll renderer renderer[8]

ERROR in ../Users/Felipe/.vscode/extensions/wallabyjs.console-ninja-1.0.381/out/buildHook/index.js
Module build failed (from ./node_modules/ts-loader/index.js):
Error: error while parsing tsconfig.json
at Object.loader (C:\stores-general-dashboard\node_modules\ts-loader\dist\index.js:18:18)
@ ./node_modules/webpack/lib/index.js 2:279-386 2:37-153
@ ./node_modules/dotenv-webpack/dist/index.js 72:78-109
@ ./node_modules/dotenv-webpack/browser.js 1:15-40
@ dll renderer renderer[8]

webpack compiled with 5 errors
npm ERR! code 1
npm ERR! path C:\stores-general-dashboard
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll

npm ERR! A complete log of this run can be found in: C:\Users\Felipe\AppData\Local\npm-cache_logs\2025-01-19T14_49_07_383Z-debug-0.log
PS C:\stores-general-dashboard>`

What can cause the above error? I have already followed all the steps provided...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests