framework7-cli
framework7-cli copied to clipboard
Shell command exit with non zero code: 243 (Ubuntu)
Framework7 Ubuntu 20.04
I exported to last line to global packages and frameworks in .bashrc.
.bashrc
export PATH="$HOME/.npm-packages/bin:$PATH"
When i use framework7 create
or framework7 create --ui
jack5341@Kitty:~/Documents/projects/test$ framework7 create ✔ All good, you have latest framework7-cli version. ? What type of the app are you targeting? Simple web app ? App (project) name: My App ? What type of framework do you prefer? Framework7 with React ? Choose starter template: Blank ? Do you want to setup CSS Pre-Processor No, i am good with CSS ? Do you want to specify custom theme color? No, use default color theme ? Do you want to include Framework7 Icons and Material Icons icon fonts? Yes, in clude icon fonts ✔ Generating package.json ✔ Creating required folders structure ✖ Error installing NPM Dependencies Error: Shell command exit with non zero code: 243
I can see it in my .npm-global folder to
I added console.log for error at index.js (line 72)
⠼ Installing NPM Dependencies (Please wait, it can take a while)Error: Shell command exit with non zero code: 243 at ChildProcess.<anonymous> (/home/jack5341/Documents/projects/framework7-cli/node_modules/exec-sh/lib/exec-sh.js:73:15) at ChildProcess.emit (events.js:315:20) at maybeClose (internal/child_process.js:1048:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) { code: 243, stdout: '', stderr: '' } ✖ Error installing NPM Dependencies Error: Shell command exit with non zero code: 243 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: `node index.js create` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start 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! /home/jack5341/.npm/_logs/2021-04-29T02_40_53_478Z-debug.log