Cannot run on Linux
Sparkenstein opened this issue · 4 comments
I am trying to run basic hello world app on Ubuntu 19.04. I am getting MODULE_NOT_FOUND error.
attaching the screenshot below. Is it duplicate of #29 ?
Steps to reproduce:
- Cloned started repo with
git clone https://github.com/nodegui/nodegui-starter
- Ran
yarn install
to install deps - Installed packer with
yarn add -D @nodegui/packer
- Ran packer with
yarn nodegui-packer --init MyApp
After that I immedietly got the error
Here's pastebin of error just in case image is unreadable
https://bin.mkr.pw/~5e623131d91d063518915d63
The issue is that the packer version you are using is an alpha version (meant to be used with next release of NodeGui and is in progress)
Can you try switching to 1.1.2 of packer ?
Latest version of Packer along with latest version of NodeGui and react nodegui fixes this issue.
Closing now.
Yes. I tested with latest versions. it worked.
Just a note. I faced few problems regarding cache in ~/.cache/qode-nodejs
and ~/.cache/nodegui-mini-qt-nodejs
directory. it worked after I deleted these two folders from cache.
Also somehow it was working earlier without Cmake. This time, the build was failing because cmake not found. I installed with apt install cmake
and it worked. You may wanna look into it :P
Yep previously it worked without cmake since there was a prebuilt version of core library which was downloaded. The latest 0.15 version doesnt have a prebuilt version due to some minor issues. This will be re enabled in future releases :)