question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build last version

See original GitHub issue

The Issue

I can’t build the latest branch v16

Steps to reproduce

  1. Clone branch v16
  2. run ./build.sh

Expected behaviour

./build.sh should make a working build.

Actual behaviour

The build process is closed before installing dependencies:

+ false
+ OSNAME=linux
++ node -e 'console.log(require("/home/btzr/prototype/lbry-app/app/package.json").lbrySettings.lbrynetDaemonVersion)'
+ DAEMON_VER=0.16.0rc9
++ node -e 'console.log(require("/home/btzr/prototype/lbry-app/app/package.json").lbrySettings.lbrynetDaemonUrlTemplate)'
+ DAEMON_URL_TEMPLATE=https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip
++ echo https://github.com/lbryio/lbry/releases/download/v0.16.0rc9/lbrynet-daemon-v0.16.0rc9-OSNAME.zip
++ sed s/OSNAME/linux/g
+ DAEMON_URL=https://github.com/lbryio/lbry/releases/download/v0.16.0rc9/lbrynet-daemon-v0.16.0rc9-linux.zip
+ DAEMON_VER_PATH=/home/btzr/prototype/lbry-app/build/daemon.ver
+ echo /home/btzr/prototype/lbry-app/build/daemon.ver
/home/btzr/prototype/lbry-app/build/daemon.ver
+ [[ ! -f /home/btzr/prototype/lbry-app/build/daemon.ver ]]
+ wget --quiet https://github.com/lbryio/lbry/releases/download/v0.16.0rc9/lbrynet-daemon-v0.16.0rc9-linux.zip -O /home/btzr/prototype/lbry-app/build/daemon.zip

after that I start the app and then get this:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'jayson'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (/home/btzr/prototype/lbry-app/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/btzr/prototype/lbry-app/app/main.js:17:16)
    at Object.<anonymous> (/home/btzr/prototype/lbry-app/app/main.js:407:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kauffjcommented, Sep 18, 2017

It’s pointed at a draft (non-public) RC. This will be fixed when 0.16.0 comes out which should happen soon. If you want to fix your build locally, change rc9 to rc8 in package.json.

1reaction
tzarebczancommented, Sep 18, 2017

After fresh re-build, can confirm I am getting the same as @btzr-io

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't build Android after upgrading to RN 0.69 #391 - GitHub
Hello, I have upgraded my project to use the latest version of React Native 0.69 ... Can't build Android after upgrading to RN...
Read more >
Can't install latest build which received Windows 11 Insider ...
Try to running sfc /scannow to checking your OS, then retry to install the latest build.
Read more >
Xcode can't build a project | Apple Developer Forums
Hello,. project works fine in Xcode 12.5.1, but when I open it in 13.1 to test, I get error when hitting build. First...
Read more >
Bug - Can't build for Android - Unity Forum
Latest Hub 3.2.0 in combination with Unity 2021.3.6 can't build for Android because there is a missing Tools folder inside Editor\Data\ ...
Read more >
`npm i core-js@latest` won't install because it can't build... core ...
When trying a vanilla npm i , well, first I got some places where the library's package.json conflicted with its dependencies' dependencies ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found