-
Type: Bug
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
How frequently does the bug occur?
Always
Description
I am following these steps https://github.com/realm/realm-js/blob/main/contrib/building.md#building-for-nodejs.
While running npm run bundle --workspace realm throws an error due to bundle script does not exist in realm package.
Could you help on this please?
Stacktrace & log output
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
npm ERR! Lifecycle script `bundle` failed with error:
npm ERR! Error: Missing script: "bundle"
To see a list of scripts, run:
npm run
npm ERR! in workspace: realm@12.9.0
npm ERR! at location: /realm-js/packages/realm
Can you reproduce the bug?
Always
Reproduction Steps
export REALM_USE_SYSTEM_OPENSSL=1
git clone https://github.com/realm/realm-js
cd realm-js
git submodule update —-init —-recursive
npm install --ignore-scripts
npm run build:node --workspace realm
npm run bundle --workspace realm
Version
12.9.0
What services are you using?
– select –
Are you using encryption?
Yes
Platform OS and version(s)
debian
Build environment
No response
Cocoapods version
No response