Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell command exit with non zero code: 243 (Ubuntu) #147

Open
jack5341 opened this issue Apr 28, 2021 · 1 comment
Open

Shell command exit with non zero code: 243 (Ubuntu) #147

jack5341 opened this issue Apr 28, 2021 · 1 comment

Comments

@jack5341
Copy link

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

image

@jack5341
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant