I cant run npm install

![Capture|584x356](upload://vibjFvw2Fodgz68nMf2uzxdckpD.png)

Looks like your image didn't attach correctly. But for your information, please don't share errors or issues by taking a screenshot of the console, please copy and paste the text into a code block to share

```
<paste here>
```

It's much easier to read and get help that way.

Ok

$ npm install
> root@ postinstall C:\Users\riyan\Desktop\joplin
> lerna bootstrap --no-ci && npm run tsc

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna ERR! npm install exited 1 in '@joplin/lib'
lerna ERR! npm install stderr:
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\pn-facf2e4b\scripts\generate.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\json-schema-ad0659d0\draft-01\hyper-schema'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\gtr.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\json-schema-ad0659d0\draft-01\json-ref'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\json-schema-ad0659d0\draft-01\links'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\json-schema-ad0659d0\draft-01\schema'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\classes\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\intersects.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\jsdom-dd00e0a8\lib\jsdom\living\fetch\header-list.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\ltr.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\jsdom-dd00e0a8\lib\jsdom\living\fetch\header-types.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\dv.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\json-schema-traverse-e9a2dc00\spec\fixtures\schema.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\jsdom-dd00e0a8\lib\jsdom\living\fetch\Headers-impl.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\dv.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\max-satisfying.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\dv.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\min-satisfying.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\json-schema-traverse-e9a2dc00\spec\index.spec.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\el.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\min-version.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\el.js'
npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\jsdom-dd00e0a8\lib\jsdom\living'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\_limit.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\el.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\outside.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\_limitItems.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-au.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\_limitLength.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-au.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\_limitProperties.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\allOf.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-au.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\anyOf.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-ca.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\classes\range.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\comment.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-ca.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\const.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-ca.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\internal\re.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\contains.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-gb.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\custom.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-gb.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\dependencies.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-gb.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\src\node_api_types.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\enum.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-ie.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\format.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-ie.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\if.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-ie.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\lodash-3e4aeaeb\fp\_baseConvert.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\items.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-il.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\classes\semver.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\multipleOf.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-il.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\not.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\simplify.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\oneOf.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-il.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\src\node_api.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-in.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\subset.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\pattern.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-in.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\to-comparators.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\src\node_internals.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\properties.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-in.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\src\util-inl.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-nz.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\semver-3ccaf234\ranges\valid.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\src\util.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\propertyNames.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-nz.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\ref.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\async.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\required.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-nz.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\backup.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\uniqueItems.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\en-sg.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\database.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\en-sg.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\lib\dot\validate.jst'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\en-sg.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\gcc-preinclude.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\ajv-6c9dff24\dist\ajv.min.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\lib\locale\en.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\macros.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\ender.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\statement.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\eo.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\locale\eo.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\doc\array_buffer.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\sqlite3-ad047abb\src\threading.h'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\locale\eo.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\doc\async_context.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\src\lib\units\era.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\doc\async_operations.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\node-addon-api-fa9b8b14\doc\async_progress_worker.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\Desktop\joplin\packages\lib\node_modules\.staging\moment-3d649ca1\dist\locale\es-do.js'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\riyan\AppData\Roaming\npm-cache\_logs\2020-11-24T05_47_08_304Z-debug.log

lerna ERR! npm install exited 1 in '@joplin/lib'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ postinstall: `lerna bootstrap --no-ci && npm run tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the root@ postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\riyan\AppData\Roaming\npm-cache\_logs\2020-11-24T05_47_13_432Z-debug.log

Thanks.

I did an internet search for the error you're seeing and it seems that there are a few possible solutions.
The most frequent that I saw was to simply delete the package-lock.json file at the root of the project and run npm install again.

If that doesn't work I would suggest that you read through the below stack overflow posts and try some of those recommendations. If nothing there works I'm afraid I won't be able to help you, this looks like an issue with your setup so hopefully another windows user will be able to help you out.


Thanks

I am still getting the same error and I think the problem is with npm install -g windows-build-tools
in which directory am I supposed to run this command?

It doesn't matter, since -g means you install it globally and not within a directory.

It's just not installing giving the same error even after removing lock file any advice?

How about npm run clean && npm i?

PS C:\Users\riyan\desktop\joplin>  npm run clean

root@ clean C:\Users\riyan\desktop\joplin
lerna clean -y && lerna run clean

info cli using local version of lerna
lerna notice cli v3.22.1
lerna info versioning independent
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\app-cli\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\app-clipper\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\app-desktop\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\app-mobile\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\fork-htmlparser2\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\fork-sax\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\generator-joplin\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\lib\node_modules
lerna info clean removing C:\Users\riyan\desktop\joplin\packages\tools\node_modules
lerna success clean finished
info cli using local version of lerna
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Executing command in 1 package: "npm run clean"
lerna info run Ran npm script 'clean' in '@joplin/app-mobile' in 1.7s:

@joplin/app-mobile@0.8.9 clean C:\Users\riyan\desktop\joplin\packages\app-mobile
node tools/clean.js

To clean the Android build, in some rare cases you might also need to clear the cache in ~/.android and ~/.gradle
lerna success run Ran npm script 'clean' in 1 package in 1.7s:
lerna success - @joplin/app-mobile
PS C:\Users\riyan\desktop\joplin> npm install

root@ postinstall C:\Users\riyan\desktop\joplin
lerna bootstrap --no-ci && npm run tsc

info cli using local version of lerna
lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 10 packages
lerna info Installing external dependencies
lerna ERR! npm install exited 1 in '@joplin/renderer'
lerna ERR! npm install stderr:
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\desktop\joplin\packages\renderer\node_modules.staging\prelude-ls-d46203b1\lib\Func.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\desktop\joplin\packages\renderer\node_modules.staging\prelude-ls-d46203b1\lib\List.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\desktop\joplin\packages\renderer\node_modules.staging\prelude-ls-d46203b1\lib\Num.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\riyan\desktop\joplin\packages\renderer\node_modules.staging\prelude-ls-d46203b1\lib\Obj.js'
........

npm ERR! code 1
npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! C:/Program Files/Git/mingw64/libexec/git-core\git-submodule: line 22: .: git-sh-setup: file not found
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\riyan\AppData\Roaming\npm-cache_logs\2020-11-25T02_54_52_698Z-debug.log

lerna ERR! npm install exited 1 in '@joplin/renderer'
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ postinstall: lerna bootstrap --no-ci && npm run tsc
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the root@ postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\riyan\AppData\Roaming\npm-cache_logs\2020-11-25T02_55_49_749Z-debug.log

@riyandharne-123 hey, i am also getting the same error in windows
how did you resolve the issue?

same here, can someone help us find out what the problem is?

I can not find the directory "node_modules" in any filefolders, I think the error may be result from it.