Unusual error while building

Some details-
OS- Windows 10 Home
npm version- 8.1.4
node version - 14.18.1

I'm stuck with this error for quite some time and would really appreciate it if someone could help me with it.


> postinstall
> npm run bootstrap --no-ci && npm run build


> bootstrap
> lerna bootstrap --force-local --no-ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 16 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle @joplin/app-clipper@1.0.8~postinstall: @joplin/app-clipper@1.0.8
lerna info lifecycle @joplin/app-mobile@0.8.9~postinstall: @joplin/app-mobile@0.8.9

> @joplin/app-clipper@1.0.8 postinstall C:\GSoc\Newfolder\joplin\packages\app-clipper
> cd popup && npm install


> joplin-webclipper-popup@0.1.0 postinstall
> node postinstall.js && npm run build


> joplin-webclipper-popup@0.1.0 build
> node scripts/build.js SKIP_PREFLIGHT_CHECK

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Compiled successfully.

File sizes after gzip:

  47.92 KB  build\static\js\2.chunk.js
  8.53 KB   build\static\js\main.chunk.js
  775 B     build\static\js\runtime-main.js
  771 B     build\static\css\main.chunk.css

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

  bit.ly/CRA-deploy


up to date, audited 1905 packages in 24s

68 packages are looking for funding
  run `npm fund` for details

82 vulnerabilities (57 moderate, 22 high, 3 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

> @joplin/app-mobile@0.8.9 postinstall C:\GSoc\Newfolder\joplin\packages\app-mobile
> jetify && npm run build

Jetifier found 1520 file(s) to forward-jetify. Using 4 workers...

> @joplin/app-mobile@0.8.9 build
> gulp build

[12:22:22] Using gulpfile C:\GSoc\Newfolder\joplin\packages\app-mobile\gulpfile.js
[12:22:22] Starting 'build'...
[12:22:22] Starting 'buildInjectedJs'...
Building CodeMirror bundle...
Creating: C:\GSoc\Newfolder\joplin/packages/app-mobile/lib/rnInjectedJs/webviewLib.js
Creating: C:\GSoc\Newfolder\joplin/packages/app-mobile/lib/rnInjectedJs/CodeMirror.bundle.js
[12:22:39] Finished 'buildInjectedJs' after 17 s
[12:22:39] Starting 'encodeAssets'...
[12:22:39] Finished 'encodeAssets' after 379 ms
[12:22:39] Starting 'podInstall'...
[12:22:39] Finished 'podInstall' after 818 μs
[12:22:39] Finished 'build' after 18 s
lerna info lifecycle @joplin/fork-htmlparser2@4.1.38~prepare: @joplin/fork-htmlparser2@4.1.38
lerna info lifecycle @joplin/turndown-plugin-gfm@1.0.42~prepare: @joplin/turndown-plugin-gfm@1.0.42
lerna info lifecycle @joplin/turndown@4.0.60~prepare: @joplin/turndown@4.0.60

> @joplin/turndown-plugin-gfm@1.0.42 prepare C:\GSoc\Newfolder\joplin\packages\turndown-plugin-gfm
> npm run build


> @joplin/turndown-plugin-gfm@1.0.42 build
> rollup -c config/rollup.config.cjs.js

(!) You have passed an unrecognized option
Unknown input options: name. Allowed options: acorn, acornInjectPlugins, cache, context, experimentalCacheExpiry, external, inlineDynamicImports, input, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileReads, moduleContext, onwarn, perf, plugins, preserveEntrySignatures, preserveModules, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch

src/gfm.js → lib/turndown-plugin-gfm.cjs.js...
created lib/turndown-plugin-gfm.cjs.js in 65ms

> @joplin/fork-htmlparser2@4.1.38 prepare C:\GSoc\Newfolder\joplin\packages\fork-htmlparser2
> npm run build


> @joplin/fork-htmlparser2@4.1.38 build
> tsc


> @joplin/turndown@4.0.60 prepare C:\GSoc\Newfolder\joplin\packages\turndown
> npm run build


> @joplin/turndown@4.0.60 build
> rollup -c config/rollup.config.cjs.js


src/turndown.js → lib/turndown.cjs.js...
created lib/turndown.cjs.js in 321ms
lerna success Bootstrapped 16 packages

> build
> lerna run build && npm run tsc

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 6 packages: "npm run build"
lerna info run Ran npm script 'build' in 'joplin' in 4.8s:

> joplin@2.6.1 build
> gulp build

[12:23:00] Using gulpfile C:\GSoc\Newfolder\joplin\packages\app-cli\gulpfile.js
[12:23:00] Starting 'build'...
[12:23:00] Starting 'prepareBuild'...
[12:23:01] Finished 'prepareBuild' after 592 ms
[12:23:01] Finished 'build' after 597 ms
lerna info run Ran npm script 'build' in '@joplin/server' in 4.6s:

> @joplin/server@2.6.11 build
> gulp build

[12:23:00] Using gulpfile C:\GSoc\Newfolder\joplin\packages\server\gulpfile.js
[12:23:00] Starting 'build'...
[12:23:00] Starting 'compilePackageInfo'...
Generated C:\GSoc\Newfolder\joplin\packages\server/dist/packageInfo.js
[12:23:01] Finished 'compilePackageInfo' after 601 ms
[12:23:01] Finished 'build' after 605 ms
lerna info run Ran npm script 'build' in '@joplin/turndown-plugin-gfm' in 4.4s:

> @joplin/turndown-plugin-gfm@1.0.42 build
> rollup -c config/rollup.config.cjs.js

lerna info run Ran npm script 'build' in '@joplin/turndown' in 5.0s:

> @joplin/turndown@4.0.60 build
> rollup -c config/rollup.config.cjs.js

lerna info run Ran npm script 'build' in '@joplin/fork-htmlparser2' in 17.1s:

> @joplin/fork-htmlparser2@4.1.38 build
> tsc

lerna info run Ran npm script 'build' in '@joplin/app-mobile' in 25.6s:

> @joplin/app-mobile@0.8.9 build
> gulp build

[12:23:00] Using gulpfile C:\GSoc\Newfolder\joplin\packages\app-mobile\gulpfile.js
[12:23:00] Starting 'build'...
[12:23:00] Starting 'buildInjectedJs'...
Building CodeMirror bundle...
Creating: C:\GSoc\Newfolder\joplin/packages/app-mobile/lib/rnInjectedJs/webviewLib.js
Creating: C:\GSoc\Newfolder\joplin/packages/app-mobile/lib/rnInjectedJs/CodeMirror.bundle.js
[12:23:21] Finished 'buildInjectedJs' after 21 s
[12:23:21] Starting 'encodeAssets'...
[12:23:22] Finished 'encodeAssets' after 357 ms
[12:23:22] Starting 'podInstall'...
[12:23:22] Finished 'podInstall' after 514 μs
[12:23:22] Finished 'build' after 21 s
lerna success run Ran npm script 'build' in 6 packages in 25.7s:
lerna success - joplin
lerna success - @joplin/app-mobile
lerna success - @joplin/fork-htmlparser2
lerna success - @joplin/server
lerna success - @joplin/turndown-plugin-gfm
lerna success - @joplin/turndown

> tsc
lerna info versioning independent
lerna info Executing command in 6 packages: "npm run tsc"
joplin: > joplin@2.6.1 tsc
joplin: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/app-mobile: > @joplin/app-mobile@0.8.9 tsc
@joplin/app-mobile: > node node_modules/typescript/bin/tsc --project tsconfig.json
@joplin/htmlpack: > @joplin/htmlpack@2.6.0 tsc
@joplin/htmlpack: > tsc --project tsconfig.json
@joplin/plugin-repo-cli: > @joplin/plugin-repo-cli@2.6.2 tsc
@joplin/plugin-repo-cli: > tsc --project tsconfig.json
@joplin/server: > @joplin/server@2.6.11 tsc
@joplin/server: > tsc --project tsconfig.json
@joplin/tools: > @joplin/tools@2.6.2 tsc
@joplin/tools: > tsc --project tsconfig.json
@joplin/plugin-repo-cli: ../lib/markdownUtils.ts(1,31): error TS2307: Cannot find module '@joplin/renderer' or its corresponding type declarations.
lerna ERR! npm run tsc exited 2 in '@joplin/plugin-repo-cli'
lerna WARN complete Waiting for 4 child processes to exit. CTRL-C to exit immediately.
npm ERR! code 2
npm ERR! path C:\GSoc\Newfolder\joplin
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm run bootstrap --no-ci && npm run build

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Shikhar\AppData\Local\npm-cache\_logs\2021-11-26T06_53_41_490Z-debug.log```