GithubHelp home page GithubHelp logo

Comments (9)

a7ul avatar a7ul commented on September 13, 2024

Hi @disc7
I am guessing you forgot to install @nodegui/packer first
You need to npm install --save-dev @nodegui/packer which would generate nodegui-packer binary link

After this you can do npx nodegui-packer --init

from packer.

a7ul avatar a7ul commented on September 13, 2024

or if you really dont want to install it as dev dependency
you can do
npx --package @nodegui/packer nodegui-packer --init

from packer.

disc7 avatar disc7 commented on September 13, 2024

@master-atul, thanks for the quick response.

Let me confirm my setup. So I've cloned the React-nodegui-packer repo and within the seperate nodegui project I've setup, need to run:

npm install --save-dev @nodegui/packer?

from packer.

a7ul avatar a7ul commented on September 13, 2024

Hey @disc7 what repo is this React-nodegui-packer ?

if you are talking about nodegui/packer you do not need to clone it.

from packer.

disc7 avatar disc7 commented on September 13, 2024

Hey πŸ‘‹

Let me give some more context.

I have nodegui setup - npm install @nodegui/nodegui

Have cloned https://github.com/nodegui/nodegui-starter and it's compiling.

Have just run npm install --save-dev @nodegui/packer without any errors.

Where/ which folder do I run npx nodegui-packer --init MyApp ?

from packer.

a7ul avatar a7ul commented on September 13, 2024

now all you need to do is cd to nodegui-starter project
and then npx nodegui-packer --init MyApp

from packer.

disc7 avatar disc7 commented on September 13, 2024

Getting this error

Cs-MacBook-Pro:react-nodegui-starter cabbott$ npx nodegui-packer --init MyApp
Cannot find module '@nodegui/nodegui/config/qtConfig'
Require stack:
- /Users/cabbott/Documents/GitRepos/react-nodegui-starter/node_modules/@nodegui/packer/dist/darwin/index.js
- /Users/cabbott/Documents/GitRepos/react-nodegui-starter/node_modules/@nodegui/packer/dist/index.js
- /Users/cabbott/Documents/GitRepos/react-nodegui-starter/node_modules/@nodegui/packer/dist/cli.js```

from packer.

a7ul avatar a7ul commented on September 13, 2024

Seems like you are using an older version of nodegui
Which version are you using ?
Can you update to the latest one ?

from packer.

disc7 avatar disc7 commented on September 13, 2024

Installing the latest version of NodeGui fixed it.

Thanks, @master-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.