Category: Server Side JavaScript
-
Post Views: 15 1. When executing the command: npm run build, prompt: npm err! missing script: “build”. as shown in Figure 1 2. Check the package.json file, you can confirm that the scripts does not contain the build script. as shown in Figure 2 3. According to the prompt: to see a list of scripts, run: npm run. To view…
-
Post Views: 18 1. In Laravel 6, an error is reported: Illuminate\View\ViewException (E_ERROR) The mix manifest does not exist. as shown in Figure 1 2. Install Laravel Mix and execute the command: yarn install to install the npm dependency package of the current project 3. Run the MIX task and execute the command: npm run dev 4. Refresh the page,…
-
Post Views: 16 1. In Laravel 8.6.3, Laravel Breeze is installed, and when executing npm run dev, an error is reported: You are using an unsupported version of node. Please update to at least node v12.14. as shown in Figure 1 2. Check the version of Node.js: v8.10.0. The required version is at least: Node v12.14. as shown in Figure…
-
Post Views: 55 1. Install React Developer Tools (Chrome, React Developer Tools) to determine whether the build process is correct, as shown in Figure 1 2. When visiting a React page of a development mode, the icon of this tool will have a red background, as shown in Figure 2 This page is using the development of react. Note that…
-
Post Views: 15 1. On the official website:https://nodejs.org/zh-cn/Download the recommended version: 8.10.0 LTS, as shown in Figure 1 2. Right-click to install, prompt: Windows SmartScreen CanT Be Reached Right Now, click the RUN button, as shown in Figure 2 Windows SmartScreen CanT Be Reached Right Now Check your Internet connection.Windows SmartScreen is unreachable and canT help you decide if this…
-
Post Views: 14 1. Use npm to install the less compiler, check the npm version, as shown in Figure 1 npm -v 2. Install the Less compiler globally, run npm in phpstorm, select file, and open settings, as shown in Figure 2 3. Click Node.js and npm under “Language and Framework”, and on the opened Node.js and npm page, pack…