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

can't commit from smartgit on ubuntu #87

Closed
thecotne opened this issue Dec 22, 2016 · 1 comment
Closed

can't commit from smartgit on ubuntu #87

thecotne opened this issue Dec 22, 2016 · 1 comment

Comments

@thecotne
Copy link

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'precommit' ]
2 info using npm@4.0.3
3 info using node@v6.9.1
4 verbose run-script [ 'precommit' ]
5 info lifecycle @~precommit: @
6 verbose lifecycle @~precommit: unsafe-perm in lifecycle true
7 verbose lifecycle @~precommit: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/cotne/Documents/api.myvideo/node_modules/.bin:/usr/lib/git-core:/home/cotne/bin:/home/cotne/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
8 verbose lifecycle @~precommit: CWD: /home/cotne/Documents/api.myvideo
9 silly lifecycle @~precommit: Args: [ '-c', 'tasker lint' ]
10 info lifecycle @~precommit: Failed to exec precommit script
11 verbose stack Error: @ precommit: `tasker lint`
11 verbose stack spawn ENOENT
11 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:33:16)
11 verbose stack     at emitTwo (events.js:106:13)
11 verbose stack     at ChildProcess.emit (events.js:191:7)
11 verbose stack     at maybeClose (internal/child_process.js:877:16)
11 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
12 verbose pkgid @
13 verbose cwd /home/cotne/Documents/api.myvideo
14 error Linux 4.4.0-53-generic
15 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "precommit"
16 error node v6.9.1
17 error npm  v4.0.3
18 error file sh
19 error code ELIFECYCLE
20 error errno ENOENT
21 error syscall spawn
22 error @ precommit: `tasker lint`
22 error spawn ENOENT
23 error Failed at the @ precommit script 'tasker lint'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the  package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     tasker lint
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

i think cwd is wrong here

works if i commit from terminal

@thecotne
Copy link
Author

@typicode

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