Homepage    |    GitHub    |    API    |    Wiki    |    FAQ

Not able to build project

lerna ERR! npm install exited 1 in '@joplin/renderer'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ bootstrap: `lerna bootstrap --force-local --no-ci`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the root@ bootstrap 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!     /Users/shabana/.npm/_logs/2021-11-06T18_04_27_282Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! root@ postinstall: `npm run bootstrap --no-ci && npm run build`
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:

node version: v14.18.1
npm version: 6.14.15
OS: macOS
command: npm install from root directory

Did you search here on the forum? I think this has come up before.

Yes I searched the forum, but many of those conversation are left in between without proper fix, I also tried steps suggested in those conversation removing node_modules, npm run clean, checking for cocoapods pacakge for macOS but didn't found useful. Can you pls help me?

Try npm 8

After upgrading rpm to latest version and running sudo npm config rm proxy , sudo npm config rm https-proxy I wa sable to build the project but now after starting application blank screen appears.

Anything in console?

Also see the build troubleshootings: Desktop application | Joplin

It clearly shows what the issue is, doesn't it?

Yes, but I am not able to fix it

Check the user running npm has access to the directory. Or just delete it and try again.