GithubHelp home page GithubHelp logo

build failing with node react-GUI about packer HOT 8 CLOSED

nodegui avatar nodegui commented on September 13, 2024
build failing with node react-GUI

from packer.

Comments (8)

a7ul avatar a7ul commented on September 13, 2024 4

cannot find @nodegui/nodegui/config/qtConfig

This basically means nodegui version is old. Can you confirm that you have updated @nodegui/nodegui package also to latest version ?

from packer.

a7ul avatar a7ul commented on September 13, 2024 2

This is super weird but could you try running

ARCH=x86_64 npx nodegui-packer --pack ./dist

or

export ARCH=x86_64
npx nodegui-packer --pack ./dist

from packer.

a7ul avatar a7ul commented on September 13, 2024 1

Could you try with latest packer 1.4.1 and latest nodegui/react-nodegui versions ? @msooraj9452

from packer.

a7ul avatar a7ul commented on September 13, 2024 1

Can you paste the entire log @msooraj9452 ?

from packer.

msooraj9452 avatar msooraj9452 commented on September 13, 2024

!# install latest version and it failed at 2nd step
commend --> npx nodegui-packer --init rn-starter
result ->
{
Cannot find module '@nodegui/nodegui/config/qtConfig'
Require stack:

  • /home/abhishek/Desktop/JS- Projects/rn-starter/node_modules/@nodegui/packer/dist/linux/index.js
  • /home/abhishek/Desktop/JS- Projects/rn-starter/node_modules/@nodegui/packer/dist/index.js
  • /home/abhishek/Desktop/JS- Projects/rn-starter/node_modules/@nodegui/packer/dist/cli.js
    }

from packer.

msooraj9452 avatar msooraj9452 commented on September 13, 2024

i given this a shot. installed latest packages but now step 3 failed

commend -> npx nodegui-packer --pack ./dist
result -> {
stderr: Unable to guess the architecture of the AppDir source directory "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/rn-starter"
A valid architecture with the ARCH environmental variable should be provided
e.g. ARCH=x86_64 appimagetool ...

stdout: Desktop file: /home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/rn-starter/default.desktop

stderr: Log: ret 256

stderr: Log: WEXITSTATUS(ret) 1

(node:8687) UnhandledPromiseRejectionWarning: child process exited with code 1
(node:8687) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8687) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
}

from packer.

msooraj9452 avatar msooraj9452 commented on September 13, 2024

here is the log ===>

stderr: Log: "libicui18n.so.56" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libicui18n.so.56"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libicui18n.so.56" to "$ORIGIN"

stderr: Log: "libicuuc.so.56" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libicuuc.so.56"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libicuuc.so.56" to "$ORIGIN"

stderr: Log: "libicudata.so.56" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libicudata.so.56"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libicudata.so.56" to "$ORIGIN"

stderr: Log: "libGLX.so.0" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libGLX.so.0"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libGLX.so.0" to "$ORIGIN"

stderr: Log: "libGLdispatch.so.0" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libGLdispatch.so.0"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libGLdispatch.so.0" to "$ORIGIN"

stderr: Log: "libXau.so.6" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libXau.so.6"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libXau.so.6" to "$ORIGIN"

stderr: Log: "libXdmcp.so.6" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libXdmcp.so.6"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libXdmcp.so.6" to "$ORIGIN"

stderr: Log: "libxcb-xkb.so.1" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libxcb-xkb.so.1"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libxcb-xkb.so.1" to "$ORIGIN"

stderr: Log: "libpcre.so.3" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libpcre.so.3"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libpcre.so.3" to "$ORIGIN"

stderr: Log: "libsystemd.so.0" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libsystemd.so.0"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libsystemd.so.0" to "$ORIGIN"

stderr: Log: "libbsd.so.0" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libbsd.so.0"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libbsd.so.0" to "$ORIGIN"

stderr: Log: "liblzma.so.5" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/liblzma.so.5"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/liblzma.so.5" to "$ORIGIN"

stderr: Log: "liblz4.so.1" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/liblz4.so.1"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/liblz4.so.1" to "$ORIGIN"

stderr: Log: "libgcrypt.so.20" already at target location

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libgcrypt.so.20"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/lib/libgcrypt.so.20" to "$ORIGIN"

stderr: Log: Checking rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/plugins/xcbglintegrations/libqxcb-glx-integration.so"

stderr: Log: Changing rpath in "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/plugins/xcbglintegrations/libqxcb-glx-integration.so" to "$ORIGIN/../../lib"

stderr: Log: Created configuration file: "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/qt.conf"

stderr: appimagetool, continuous build (commit d185526), build 1855 built on 2018-10-07 20:18:45 UTC

stderr: Name: Application
Icon: default
Exec: AppRun %F
Comment: Edit this default file
Type: Application

stderr: Categories: Utility;

stderr: Unable to guess the architecture of the AppDir source directory "/home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp"
A valid architecture with the ARCH environmental variable should be provided
e.g. ARCH=x86_64 appimagetool ...

stderr: Log: ret 256
Log: WEXITSTATUS(ret) 1

stdout: Desktop file: /home/abhishek/Desktop/JS- Projects/rn-starter/deploy/linux/build/MyApp/default.desktop

(node:3099) UnhandledPromiseRejectionWarning: child process exited with code 1
(node:3099) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3099) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
}

from packer.

msooraj9452 avatar msooraj9452 commented on September 13, 2024

2nd option worked!!!.Thanks a lot Atul :).

from packer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.