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

App crashes when uploading avatar #43

Closed
matronator opened this issue Aug 4, 2019 · 3 comments
Closed

App crashes when uploading avatar #43

matronator opened this issue Aug 4, 2019 · 3 comments

Comments

@matronator
Copy link
Contributor

Every time I try to upload avatar for a user, node crashes with the following output:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/Users/username/.npm-global/bin/npm',
1 verbose cli   'start' ]
2 info using npm@5.3.0
3 info using node@v10.10.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle pudding@4.0.0~prestart: pudding@4.0.0
6 info lifecycle pudding@4.0.0~start: pudding@4.0.0
7 verbose lifecycle pudding@4.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle pudding@4.0.0~start: PATH: /Users/username/.npm-global/lib/node_modules/npm/bin/node-gyp-bin:/Users/username/Documents/Programming/Webs.nosync/Lolz/rekvisits/spruce/node_modules/.bin:/Users/username/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/username/.npm-global/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands/usr/local/mongodb/bin:/usr/local/mongodb/bin
9 verbose lifecycle pudding@4.0.0~start: CWD: /Users/username/Documents/Programming/Webs.nosync/Lolz/rekvisits/spruce
10 silly lifecycle pudding@4.0.0~start: Args: [ '-c', 'node ./bin/www' ]
11 silly lifecycle pudding@4.0.0~start: Returned: code: 1  signal: null
12 info lifecycle pudding@4.0.0~start: Failed to exec start script
13 verbose stack Error: pudding@4.0.0 start: `node ./bin/www`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/Users/username/.npm-global/lib/node_modules/npm/lib/utils/lifecycle.js:289:16)
13 verbose stack     at EventEmitter.emit (events.js:182:13)
13 verbose stack     at ChildProcess.<anonymous> (/Users/username/.npm-global/lib/node_modules/npm/lib/utils/spawn.js:40:14)
13 verbose stack     at ChildProcess.emit (events.js:182:13)
13 verbose stack     at maybeClose (internal/child_process.js:962:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid pudding@4.0.0
15 verbose cwd /Users/username/Documents/Programming/Webs.nosync/Lolz/rekvisits/spruce
16 verbose Darwin 18.6.0
17 verbose argv "/usr/local/bin/node" "/Users/username/.npm-global/bin/npm" "start"
18 verbose node v10.10.0
19 verbose npm  v5.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error pudding@4.0.0 start: `node ./bin/www`
22 error Exit status 1
23 error Failed at the pudding@4.0.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Snímek obrazovky 2019-08-04 v 14 52 34

@littledivy
Copy link
Collaborator

@matronator
Thanks for creating this issue.
You need to create a new folder named profile_pictures under the public/images directory.
It was not pushed at it was in my .gitignore.
Thanks

@matronator
Copy link
Contributor Author

Oh, I see, sorry my bad! Thank you! :)

BTW, really cool project, very easy to install and get it up and running in no time (compared to other node/npm modules/packages) and easily customizable/extendible. Loving it so far, keep up the good work! 😉

@littledivy
Copy link
Collaborator

@matronator
Thanks! Feel free to create a PR!
Happy Coding!

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

2 participants