Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannont find module 'semver' #13

Open
592969 opened this issue Dec 16, 2022 · 1 comment
Open

Cannont find module 'semver' #13

592969 opened this issue Dec 16, 2022 · 1 comment

Comments

@592969
Copy link

592969 commented Dec 16, 2022

Looking forward to using this to make music and it looks fantastic.

Fresh Kubuntu 22.04 install. Installed riffusion-app according to the instructions and then changed the version of Node.js by;

sudo npm cache clean -f
sudo npm install -g n
sudo n v19.2.0

I did this because I was getting the same issue as #8

#8

Now I get this error;

node:internal/modules/cjs/loader:1039
const err = new Error(message);
^

Error: Cannot find module 'semver'
Require stack:

  • /usr/share/nodejs/npm/lib/utils/unsupported.js
  • /usr/share/nodejs/npm/lib/cli.js
  • /usr/share/nodejs/npm/bin/npm-cli.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Module._load (node:internal/modules/cjs/loader:885:27)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object. (/usr/share/nodejs/npm/lib/utils/unsupported.js:2:16)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/usr/share/nodejs/npm/lib/utils/unsupported.js',
    '/usr/share/nodejs/npm/lib/cli.js',
    '/usr/share/nodejs/npm/bin/npm-cli.js'
    ]
    }

Node.js v19.2.0

@jhonnattan123
Copy link

try using the lts version

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants