Skip to content

Conversation

@poneciak57
Copy link
Contributor

It is required for worklets validation

⚠️ Breaking changes ⚠️

Introduced changes

  • added missing semver devDependency

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added/Conducted relevant tests
  • Performed self-review of the code
  • Updated Web Audio API coverage
  • Added support for web

@poneciak57 poneciak57 merged commit bfab178 into main Nov 6, 2025
3 checks passed
@marksyzm
Copy link

marksyzm commented Nov 6, 2025

I'm pretty sure you need to add semver as a dependency, also, as it shows as missing on my install with this error still:

Error: Cannot find module 'semver/functions/prerelease'
Require stack:
- /Users/username/appname/node_modules/react-native-audio-api/scripts/validate-worklets-version.js
    at Function._resolveFilename (node:internal/modules/cjs/loader:1241:15)
    at Function._load (node:internal/modules/cjs/loader:1066:27)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
    at Module.require (node:internal/modules/cjs/loader:1327:12)
    at require (node:internal/modules/helpers:136:16)
    at Object.<anonymous> (/Users/username/appname/node_modules/react-native-audio-api/scripts/validate-worklets-version.js:2:26)
    at Module._compile (node:internal/modules/cjs/loader:1566:14)
    at Object..js (node:internal/modules/cjs/loader:1718:10)
    at Module.load (node:internal/modules/cjs/loader:1305:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/username/appname/node_modules/react-native-audio-api/scripts/validate-worklets-version.js'
  ]
}

I'm sure it's not a Type error

@poneciak57
Copy link
Contributor Author

ok ill check this

@michalsek
Copy link
Member

ok ill check this

Can we just add small local check without relying on external deps? :)

@marksyzm
Copy link

marksyzm commented Nov 6, 2025

Yeah I can't see it here, although I'm sure it's a package of some dependency, perhaps:
https://github.com/software-mansion/react-native-audio-api/blob/main/packages/react-native-audio-api/package.json
Thanks for your perseverance!

@maciejmakowski2003 maciejmakowski2003 deleted the fix/semver branch December 9, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants