Tag: npm run build
-
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: 19 1. Reference:Deploy Shopify PHP application to production environment (CentOS 7.7 64-bit in Alibaba Cloud, ECS, MySQL 5.7) 2. When the application: learn-php-app-ubuntu-2004-0605 is newly created and deployed the theme application extension. The test passed, in line with expectations. as shown in Figure 1 3. Upload the application in the local environment: learn-php-app-ubuntu-2004-0605 Web The code below is…
-
Post Views: 15 1. When executing: npm run build, an error is reported: ln -sf ../frontend/dist/assets public/assets,lnIs not recognized as an internal or external command, operatorable program or batch file. . as shown in Figure 1 2. Since the Windows system does not support it, I finally decided to execute this command in the Ubuntu-20.04 system in WSL2. Tip: No…
-
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: 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…