当前位置:网站首页>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 !
边栏推荐
- Why are life science enterprises on the cloud in succession?
- Tutorial on obtaining JD cookies by mobile browser
- Debugging Analysis of Kernel panics and Kernel oopses using System Map
- 去掉录屏提醒(七牛云demo)
- 基于C语言实现的足球信息查询系统 课程报告+项目源码+演示PPT+项目截图
- 【产品设计研发协作工具】上海道宁为您提供蓝湖介绍、下载、试用、教程
- 66 pitfalls in go programming language: pitfalls and common errors of golang developers
- Byte software testing basin friends, you can change jobs. Is this still the byte you are thinking about?
- Data link layer & some other protocols or technologies
- The most important thing at present
猜你喜欢

AntDB数据库在线培训开课啦!更灵活、更专业、更丰富

升哲科技 AI 智能防溺水服务上线

Why are life science enterprises on the cloud in succession?

福建省发改委福州市营商办莅临育润大健康事业部指导视察工作

【Camera基础(二)】摄像头驱动原理和开发&&V4L2子系统驱动架构

多路转接select

Alibaba cloud lightweight servers open designated ports

C语言-关键字1

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

Docking of arkit and character creator animation curves
随机推荐
leetcode_191_2021-10-15
Understanding openstack network
力扣每日一题-第25天-496.下一个更大元素Ⅰ
Alibaba cloud lightweight servers open designated ports
Remember the frequently forgotten problem of continuously reading pictures -%04d
memcached全面剖析–2. 理解memcached的內存存儲
Memcached full profiling – 1 Fundamentals of memcached
memcached全面剖析–3. memcached的删除机制和发展方向
ping: www.baidu. Com: unknown name or service
Slider controls the playback progress of animator animation
Analysis of BBR congestion control state machine
A field in the database is of JSON type and stores ["1", "2", "3"]
leetcode-201_2021_10_17
多路转接select
socket done
[cloud native learning notes] learn about kubernetes' pod
Unity about conversion between local and world coordinates
Visit Amazon memorydb and build your own redis memory database
Station B takes goods to learn from New Oriental
Introduce the overall process of bootloader, PM, kernel and system startup















