Member Since 4 Months Ago
4,830 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
Replied to Can't Display A Jpeg Photo
Nice, it works, it finally upload my jpeg pictures, and display it. Thanks a lot for your time
Replied to Can't Display A Jpeg Photo
I added the mimes rules, still change nothing, i keep have the error validation message "This photo must be an image"
Replied to Can't Display A Jpeg Photo
Where can I add those validation rules ? in Actions/Fortify/UpdateUserProfileInformation.php ?
By the way, i did try a jpg too, it doesnt work. But png work .. i really dont get it.
Started a new Conversation Can't Display A Jpeg Photo
Hello, I've a problem and i can't find a way to fix it. I do have my laravel project in local, that can be access in local (127.0.0.1:8000) and my project on production is on my server. They are the same, expect that the .env , but they are both based on my gitlab project. In localhost, i do have no problem with photo, i can upload photo, remove them or change them from my jetstream profile. But when its online, whenever i'm still able to upload photo, i cannot upload .jpeg file. It says "The photo must be an image". How can i fix this ? It seems that i need to allow "jpeg" files, but I couldnt fix it ...
Any ideas ?
Replied to Laravel/Jetstream : Can't Run Npm Run Dev
I have to remove dot to post content on this channels because otherwise it say "You cant use link the first day", thats why it look like there is missing dots
Replied to Laravel/Jetstream : Can't Run Npm Run Dev
I did remove the node_modules folder and tried reinstall with : npm install && npm run dev
I got the same error
My app name is martzer
Here is the log file :
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/root/nvm/versions/node/v14151/bin/node',
1 verbose cli '/root/nvm/versions/node/v14151/bin/npm',
1 verbose cli 'run',
1 verbose cli 'dev'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle @~predev: @
6 info lifecycle @~dev: @
7 verbose lifecycle @~dev: unsafe-perm in lifecycle true
8 verbose lifecycle @~dev: PATH: /root/nvm/versions/node/v14151/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/www/martzer/node_modules/bin:/root/nvm/versions/node/v14151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle @~dev: CWD: /var/www/martzer
10 silly lifecycle @~dev: Args: [ '-c', 'npm run development' ]
11 silly lifecycle @~dev: Returned: code: 1 signal: null
12 info lifecycle @~dev: Failed to exec dev script
13 verbose stack Error: @ dev: `npm run development`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter<anonymous> (/root/nvm/versions/node/v14151/lib/node_modules/npm/node_modules/npm-lifecycle/indexjs:332:16)
13 verbose stack at EventEmitteremit (eventsjs:315:20)
13 verbose stack at ChildProcess<anonymous> (/root/nvm/versions/node/v14151/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawnjs:55:14)
13 verbose stack at ChildProcessemit (eventsjs:315:20)
13 verbose stack at maybeClose (internal/child_processjs:1048:16)
13 verbose stack at ProcessChildProcess_handleonexit (internal/child_processjs:288:5)
14 verbose pkgid @
15 verbose cwd /var/www/martzer
16 verbose Linux 540-48-generic
17 verbose argv "/root/nvm/versions/node/v14151/bin/node" "/root/nvm/versions/node/v14151/bin/npm" "run" "dev"
18 verbose node v14151
19 verbose npm v6148
20 error code ELIFECYCLE
21 error errno 1
22 error @ dev: `npm run development`
22 error Exit status 1
23 error Failed at the @ dev script
23 error This is probably not a problem with npm There is likely additional logging output above
24 verbose exit [ 1, true ]
Replied to Laravel/Jetstream : Can't Run Npm Run Dev
Replied to Laravel/Jetstream : Can't Run Npm Run Dev
70% building 343/343 modules 0 activenpm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpackjs --progress --config=node_modules/laravel-mix/setup/webpackconfigjs
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development 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! /root/npm/_logs/2020-11-18T13_18_53_856Z-debuglog
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev 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! /root/npm/_logs/2020-11-18T13_18_53_897Z-debuglog
This is what my terminal is saying after i try "npm run dev"
Started a new Conversation Laravel/Jetstream : Can't Run Npm Run Dev
Hello,
I can install laravel and create a new project without any problem, but when I try to install Jetstream, after the npm install command, the npm run dev comment fail and give me an error while trying to build something with css file (css/app css)
I've try a lot of things, such as re-use npm install, clear cache, using yarn, npx, nothing did work
Thanks a lot for your help