Tag:npm

  • Vue – search component

    Time:2022-4-30

    step Split static components (omitted) Write API interface api/request.js //Secondary packaging of Axios import axios from “axios”; //Introduce progress bar nprogress and style (modifiable) and call star and done methods in request and response interceptors import nprogress from ‘nprogress’; import “nprogress/nprogress.css” //1. Use the create of Axios object to create an Axios instance //2. Request […]

  • Wvppro + zlmedia Kit + Dahua camera streaming + Android analog gb28181 device streaming

    Time:2022-4-28

    1. Project source code WVP Pro GitHubWVP is a gb28181 platform ZLMediaKit GitHub Installation reference tutorial Introduction to national standard gb28181_ Embedded in Peng YuYan’s blog – blog_ twenty-eight thousand one hundred and eighty-one 2. Deploy WVP Pro project (1) Download WVP Pro source code git clone https://gitee.com/pan648540858/wvp-GB28181-pro.git ♫)application. YML specifies that the configuration file […]

  • Windows installation node (super detailed steps)

    Time:2022-4-27

    Official website: http://nodejs.cn/Download address: http://nodejs.cn/download/ Step 1: download resources. I’ll take binary files as an example Step 2: after downloading the resources, select a directory to decompress. The decompressed contents are as follows: Directly in the extracted directory, open CMD to create, and you can see the installed version Step 3: create node in the […]

  • NPM and NRM common commands

    Time:2022-4-25

    NPM common commands 1. Installation depends on your project npm install 2. Install dependencies based on the package name and the specified version number npm install [email protected] npm install [email protected] //Install the latest version of the package 3. Install according to scope-D is used to assist development in the development environment, – s is required […]

  • npm ERR command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild

    Time:2022-4-24

    D:\IdealProject\h5\uview-ui>npm install npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: […]

  • NPM install reports an error command C: \ windows \ system32 \ CMD exe /d /s /c node-gyp rebuild

    Time:2022-4-12

    Error message when NPM install is executed 20:27, December 10 npm ERR! code 1 npm ERR! path C:\wamp64\www\kyy2.0\xgwx2\node_modules\images npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | […]

  • How to downgrade the installed nodejs high version to low version in Windows

    Time:2022-3-30

    Step 1: clear the locally installed node JS version 1. Press Win + R to pop up a window, enter CMD on the keyboard, and then press enter (or directly click the win window icon at the bottom left corner of the computer desktop to pop up, enter CMD, and then click enter) Then enter […]

  • Integrated bootstrap5 + vue3 + jquery3, no node, NPM, yarn, webpack, relying on nginx native running, compatible with PHP environment

    Time:2022-3-29

    demonstration history First of all, let’s review the history of web development, which will have a clear context:1. In the past, most of the products we developed and used werehttps://github.com/jquery/jquery, its first version can be traced back to 2006. It has been 16 years since (2022). At present, 56K star! The corresponding UI framework ishttps://github.com/jquery/jquery-ui, […]

  • NVM installation guide error handling node multi version controller

    Time:2022-3-13

    NVM installation and use introduce NVM is a node multi version controller, which is used to switch the environment between old and new projects Download address and introduction NVM project address: https://github.com/creationix/nvm.git Installation package address: https://github.com/coreybutler/nvm-windows/releases nvm-noinstall. Zip: Green installation free version, but it needs to be configured when using. nvm-setup. Zip: installation version, recommended. […]

  • Vue3 is built through vite X project

    Time:2022-3-12

    adoptvitebuildVue3.xproject 1、 Target adoptviteBuild aVue3. X version of the project, usingJavaScriptGrammar, used togetherVue3. X family bucket, including:Vuexandvue-router, and introduceElement PlusComponent library 2、 Practice Environmental preparation:Node.js、VSCode、ChromeBrowser (installation)Node、VSCodeThe compiler will not be repeated,VSCodeIt is recommended to use togetherVolarPlug in, you can find the installation method yourself if necessary) Reminder: all dependencies in the project are throughnpmThe package […]

  • Nodejs + Express file operation to realize small student management system (add, delete, change and check) – immersive

    Time:2022-3-1

    Nodejs + Express file operation to realize small student management system (addition, deletion, modification and query) Knowledge points: Basic operation of express, use of art template template template engine, file reading, request data acquisition, extraction of express routing module, body parse middleware and use of callback function. Render home page Add student page And edit […]

  • Applets use NPM to introduce third-party components

    Time:2022-2-26

    environment computer:MacSoftware: UsingterminalInstall the application firstNPM, how to install, please search by yourself~ step 1. Open the terminal,cdTo applet Engineeringroot directory 2. Use command:npm init 3. All configurations can be used directlydefault All that need to be filled in can be directly pressedEnterskipI filled in hereauthortermLast inputyesYes! 4. Install third-party components npm install xxx xxxIs […]