Year: 2024
-
Post Views: 19 1. In Laravel 9, when executing: php artisan telescope:install error: error there are no commands defined in the “teleScope” namespace.. as shown in Figure 1 2. Discover the config/app.php configuration file of the TeleScopeServiceProvider service provider in the application configuration file that has been deleted. Add it back first. as shown in Figure 2 3. Run again:…
-
Post Views: 15 1. When requesting Alibaba Cloud Intelligent Voice Interaction – Speech Synthesis API, its audio encoding format supports PCM/WAV/MP3 format. Default: PCM. It is hoped that the response body should be as small as possible when responding, so it is necessary to confirm the size of the response body in these three formats. 2. Request the interface in…
-
Post Views: 17 1. When implementing a request based on guzzle, php http client, when the response is not 20x, the $response variable cannot be obtained. as shown in Figure 1 2. At this stage, it is necessary to judge the value of the field status in the response, so as to do subsequent logical processing. Reference:https://docs.guzzlephp.org/en/stable/request-options.html#http-errors. Set to FALSE…
-
Post Views: 15 1. When logging in for verification of the new device of Oiyi APP, the authentication is carried out through the face recognition technology, and the prompt: If you cannot connect to the Google Play service, please check the network and try again. as shown in Figure 1 2. The final confirmation is not a network problem, but…
-
Post Views: 16 1. After entering the front-end page, click some links, the URL will change, and the response is 200 at this time. But once the entire page is refreshed, it will respond to 404. such as video 1 2. View the error log of nginx and add a line: try_files $uri $uri//index.html; 3. Refresh the entire page again,…
-
Post Views: 13 1. When executing: npm run build:admin, an error is reported: nx failed to process the project graph with “nx-js-graph-plugin”. as shown in Figure 1 2. The reason should be that the default package manager of this project is PNPM, as shown in Figure 2 3. Final execution in sequence: pnpm install, pnpm run build: admin. If the…
-
Post Views: 15 1. Request the backend interface directly in Postman, response 401. in line with expectations. as shown in Figure 1 2. Request the front-end interface directly in Postman to respond to 504 Gateway time-out. Not as expected. as shown in Figure 2 3. The front-end configuration file in Nginx is as follows 4. Check the request log of…
-
Post Views: 17 1. Error: call to undefined function termwind\valueObjects\mb_strimwidth(). as shown in Figure 1 2. Uncomment in php.ini. extension=mbstring 3. No more errors. as shown in Figure 2
-
Post Views: 21 1. Reference:Upgrade PHP to version 7.2 in Windows 10 .Download VS16 x64 Thread Safe, as shown in Figure 1 2. The VC16 x64 version needs to install Visual Studio 2019 x64 Visual C++ Redistributable,Download and install Microsoft Visual C++ Redistributable for Visual Studio 2019 . The latest supported downloads for Microsoft Visual C++ redistributable packages. as shown…
-
Post Views: 21 1. Reference:Atomicals-JS code to play new tutorial. 2. Node.js has been installed, the current Node version is already the latest LTS version 3. Git has been installed. 4. Enter the D drive, create a new atomicals folder, and double-click to enter this folder. Enter cmd where the path is displayed above and press the Enter key. To…