Closed KosorlYoeng closed 1 month ago
Did you run npm run craftable-pro:build
after depolyment?
Yes, I run it after deployment
And it ran without any problems? A white page usually indicates that the frontend hasn’t been compiled. Do you see any errors in the console?
I don't see all errors in the console
https://uniclubzone.paragoniu.app/admin/login
Here is my website, You can check it
I checked your website and I saw the PHP error unrelated to Craftable PRO:
file_put_contents(/var/www/html/club/storage/framework/views/99eb1ac00707a17563604ccbe43bbb1a.php): Failed to open stream: Permission denied
It looks like you need to change permissions to the storage folder, see this StackOverflow thread: https://stackoverflow.com/a/54070254/23195683 .
I fix already, U can check it again ?
Please try to run npm run craftable-pro:build
on your server and paste the output here so that I can check for any errors.
I try a long time but it still blank white screen
I understand. Could you please paste your command-line interface output here after running the command? You can see the example of the output in our tutorial video at the 3:50 timestamp: https://youtu.be/IU3zBf_ioyk?si=HuHj7hAFsEwhBYh2&t=230.
can you clarify this?
After you run the command npm run craftable-pro:build
at the server, you should see some output in your command line interface, something like this:
Can you copy & paste the output here or at least send a screenshot?
That seems fine. Would you mind sharing repository access with me so I can check the code?
I checked your repository, and in the file resources/views/craftable-pro.blade.php, you are missing this line after @routes
:
@vite(['resources/js/craftable-pro/index.ts', 'resources/css/craftable-pro.css'])
I also updated the packages using npm update
. After that, I was able to see the admin panel correctly.
It working thank you so much.
issues "Why I up the project to production it display blank white screen when i access to /admin/login"