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.

[BUG] Installing GUI with install-gui.sh on Ubuntu 20.04 LTS - Cannot find module 'fuzzaldrin'

See original GitHub issue

Trying to install using install-gui.sh on active venv throws error. Followed installation instructions for Ubuntu from wiki!

Ubuntu 20.04 LTS Kernel version: 5.4.0-72-generic

Node via nvm: info using npm@7.5.4 info using node@v14.12.0

npm log error:

verbose stack Error: command failed
verbose stack     at ChildProcess.<anonymous> (/home/.nvm/versions/node/v14.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
verbose stack     at ChildProcess.emit (events.js:314:20)
verbose stack     at maybeClose (internal/child_process.js:1047:16)
verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)

Console error:

Installing on Ubuntu 20.04 LTS or newer: Using installed node.js version
Running git submodule update --init --recursive.

Running git submodule update.


up to date, audited 2026 packages in 3s

found 0 vulnerabilities

up to date, audited 2026 packages in 4s

found 0 vulnerabilities

> build
> npm run locale && npm run build:electron && npm run build:react


> locale
> lingui extract && lingui compile

internal/modules/cjs/loader.js:896
  throw err;
  ^

Error: Cannot find module 'fuzzaldrin'
Require stack:
- /home/apps/chia-blockchain/chia-blockchain-gui/node_modules/@lingui/cli/api/utils.js
- /home/apps/chia-blockchain/chia-blockchain-gui/node_modules/@lingui/cli/lingui.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:893:15)
    at Function.Module._load (internal/modules/cjs/loader.js:743:27)
    at Module.require (internal/modules/cjs/loader.js:965:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/home/apps/chia-blockchain/chia-blockchain-gui/node_modules/@lingui/cli/api/utils.js:22:19)
    at Module._compile (internal/modules/cjs/loader.js:1076:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Module.require (internal/modules/cjs/loader.js:965:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/apps/chia-blockchain/chia-blockchain-gui/node_modules/@lingui/cli/api/utils.js',
    '/home/apps/chia-blockchain/chia-blockchain-gui/node_modules/@lingui/cli/lingui.js'
  ]
}

Any idea? Thx Carsten

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
cmberlincommented, Apr 23, 2021

I figured out that installing packages and building with npm 6.14.4 works as expected. Running the gui with node 14.12.0 seems to be working also. Therefore i cannot answer your question above anymore.

0reactions
cmberlincommented, Apr 23, 2021

Not sure if it makes sense to close this issue because installing and building with npm 7.5.4 still does not work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI does not work in Ubuntu 20.04 #678 - GitHub
OpenSnitch (service and UI) was running fine on my Ubuntu 20.04, v1.5.0. Not sure why now UI crush with (service status is fine):...
Read more >
fuzzaldrin - npm
Fuzzy filtering and string scoring. This library is used by Atom and so its focus will be on scoring and filtering paths, methods,...
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