当前位置:网站首页>Vscode netless environment rapid migration development environment (VIP collection version)
Vscode netless environment rapid migration development environment (VIP collection version)
2022-06-24 21:45:00 【Teacher Tony】
Catalog
One 、Node.js Installation and environment configuration
b、 Download from the official website
2、 Configure global dependent package path
b、 Modify the global dependency package download path
3、 Environment variable configuration
b、 Configure system environment variables path route
Two 、VSCode Plug in package migration and specified location
1、VSCode Plug in default location
2、 Appoint VSCode Plug in location
3、 ... and 、VSCode Dependent package migration
One 、Node.js Installation and environment configuration
1、 Download and install
a、 brief introduction
Node.js It's running on the server side JavaScript. Node.js It's based on Chrome V8 Engine JavaScript Running environment . Node.js An event driver is used 、 Non-blocking type I/O Model of , Make it lightweight and efficient . Node.js Package manager npm, Is the world's largest open source repository ecosystem .b、 Official website download
Open the official website link , download Node.js Installation package , When selected here 64 Bit msi Installation package
c、 install
The default path is selected here
New version of the Node.js I have brought with me npm, install Node.js Will be installed together , npm The function of is to Node.js Dependent packages for management
After installation, it is shown in the figure
dos Window type
As illustrated in the figure node.js and npm Installed successfully
2、 Configure global dependent package path
node.js and npm After successful installation , The preparatory work has already been done
a、 Default package path
Just download a global package ,
npm install -g vueThe following will appear node_modules Folder ,
The default storage path of this package is C:\Users\Administrator\AppData\Roaming\npm\node_modules Next ,
Can pass CMD Command view
npm root -g
b、 Modify the global dependency package download path
Custom storage directory , stay node Create two new folders under the installation directory
node_global Global package download and storage
node_cache node cache1) Command to modify the default path
npm config set prefix "C:\Program Files\nodejs\node_global"npm config set cache "C:\Program Files\nodejs\node_cache"
2) Configuration file modification
\npm\.npmrcfileprefix =C:\node\node_global cache = C:\node\node_cacheDownload a global package
npm install -g vueSuccessfully appear in the new configured path
3、 Environment variable configuration
a、 Configure domestic image
download npm The package is downloaded from a foreign server , It's very slow in China , It usually points to Taobao
npm config set registry https://registry.npm.taobao.orgInstall one globally
vue-cliThe scaffoldnpm install @vue/cli -gThe speed increase is quite obvious
b、 Configure system environment variables path route
Just download a few packages to test
npm install @vue/cli -g npm install express -g npm install webpack -g npm install typings -gsuccess
Two 、VSCode Plug in package migration and specified location
1、VSCode Plug in default location
Sometimes it is troublesome for computers to download plug-ins without external network environment , Therefore, it is much more convenient to migrate ready-made plug-ins directly , Find the default location of the plug-in , Just pack itC:\Users\ user name \.vscode\extensions
2、 Appoint VSCode Plug in location
Sometimes I don't want to install in C disc , Because it's gone when you reinstall the system , Therefore, you can consider installing it in the software installation path , First create a folder extensions
double-click VSCode Shortcut icon for , start-up VSCode , Load the plug-in under the specified path , Then the installed plug-ins will be placed in the specified directory
3、 ... and 、VSCode Dependent package migration
Copy the dependent files of the installed machine and package them to the new machine
Four 、VSCode common problem
Whether the project is migrated or an error is reported when the project is started
1、 Check node.js edition , bring into correspondence with
2、 Check the error prompt , Is it a lack of dependent packages
3、xx
Please like it , Form good habits !
doubt 、 communication 、 Please leave a message !
边栏推荐
- Functional analysis of ebpf tracepoint
- 基于STM32的物联网下智能化养鱼鱼缸控制控制系统
- 关于Unity中的transform.InverseTransformPoint, transform.InverseTransofrmDirection
- EditText controls the soft keyboard to search
- WMI and PowerShell get TCP connection list
- 为什么生命科学企业都在陆续上云?
- 力扣每日一题-第25天-496.下一个更大元素Ⅰ
- TDengine可通过数据同步工具 DataX读写
- RFC 793 why to send reset and when to send reset
- [cloud native learning notes] deploy applications through yaml files
猜你喜欢

【Camera基础(一)】Camera摄像头工作原理及整机架构

TDengine可通过数据同步工具 DataX读写

Volcano成Spark默认batch调度器

为什么生命科学企业都在陆续上云?

一文理解OpenStack网络

VSCode无网环境快速迁移开发环境(VIP典藏版)

介绍BootLoader、PM、kernel和系统开机的总体流程

【吴恩达笔记】多变量线性回归

Make tea and talk about heroes! Leaders of Fujian Provincial Development and Reform Commission and Fujian municipal business office visited Yurun Health Division for exchange and guidance

memcached全面剖析–5. memcached的应用和兼容程序
随机推荐
架构实战营 第 6 期 毕业总结
(待补充)GAMES101作业7提高-实现微表面模型你需要了解的知识
Visit Amazon memorydb and build your own redis memory database
Pattern recognition - 0 introduction
Tournament sort
123. the best time to buy and sell shares III
Installing Oracle without graphical interface in virtual machine centos7 (nanny level installation)
Please open online PDF carefully
The virtual currency evaporated $2trillion in seven months, and the "musks" ended the dream of 150000 people becoming rich
2022国际女性工程师日:戴森设计大奖彰显女性设计实力
CondaValueError: The target prefix is the base prefix. Aborting.
Auto. JS to realize automatic unlocking screen
Analysis of BBR congestion control state machine
基于STM32的物联网下智能化养鱼鱼缸控制控制系统
Apple mobile phone can see some fun ways to install IPA package
PKI notes
VirtualBox虚拟机安装Win10企业版
Blender's landscape
TCP Jprobe utilization problem location
leetcode-201_2021_10_17














