Day 4.环境预备备(二)- Node.js

NPM (全称 Node Package Manager,即「node包管理器」),它是一个线上套件库,可以下载各式各样的 Javascript 套件来使用。
所以透过 npm 指令我们可以更方便进行套件的管理动作 (安装、升级、修改或删除等等)。
https://ithelp.ithome.com.tw/upload/images/20210914/20131400zr6CLhrd8Z.jpg

我们先到Node.js的官方网站
选择LTS (Long-term support,长期支援的版本)的Windows安装包
https://ithelp.ithome.com.tw/upload/images/20210914/20131400vS9grPvJuB.png
跟昨天一样执行下载完的档案
(一直next下去就对了!)
https://ithelp.ithome.com.tw/upload/images/20210914/20131400Rm6RMNnlj0.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/20131400QLzNliC95L.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/20131400pmwwwxMEJm.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/20131400u1ekF6mggV.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/20131400btXSHfG0PP.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/201314007oyITUISqy.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/20131400lFgZFXv5vu.pnghttps://ithelp.ithome.com.tw/upload/images/20210914/20131400i4663GjMbu.png
按下finish後会跳出黑色的视窗(CMD),按下任意建完成安装,就搞定了!
https://ithelp.ithome.com.tw/upload/images/20210914/20131400kBsHSz5B2W.png
接着我们回到VSCode,按下 Ctrl + Shift + ` 叫出终端机,在里面输入npm –version
https://ithelp.ithome.com.tw/upload/images/20210914/20131400fewG6FAUF1.png
跳出版本号就表示成功了٩(˃̶͈̀௰˂̶͈́)
https://ithelp.ithome.com.tw/upload/images/20210914/20131400PyFZ3AUeME.png
BUT!!
如果失败怎麽办
如果看到以下讯息,没关系,末急末慌末害怕
https://ithelp.ithome.com.tw/upload/images/20210914/20131400juAK5nmPZz.png

找到你的VSCode按下右键点选内容➡️相容性
看到”以系统管理员的身分执行此程序”了吗!把它打勾勾,再重开VSCode输入就可以了欧!
https://ithelp.ithome.com.tw/upload/images/20210914/20131400bFN0tEbILn.png

参考资料
npm维基百科
【I Love Vue 】 Day 03 爱上 Vue- 环境建置(二) - Vue CLI


<<:  [Day-01] - Learn Spring Framework In One Month. ​

>>:  每个人都该学的30个Python技巧|技巧 16:其他串列常用的函式(字幕、衬乐、练习)

CSS-Model 盒模型

前言 在HTML中每一个元素都会被CSS当作一个矩形盒子,CSS可以更改其宽度、高度、跟其他元素的距...

Day 05 - 行前说明 — UI 元件分类你知多少?

今天是行前说明的最後一篇了,前面几篇都是很架构面的知识,而今天要讲的就是真的很贴近 UI 元件的分...

D14 - 转移资料到TiDB工具介绍(一)

在安装完TiDB之後,想先从现有的MySQL资料库倒一张表的资料来试试。 TiDB提供两种的资料导出...

Day13-290. Word Pattern

今日题目:290. Word Pattern(Easy) Given a pattern and a...

Leetcode: 26. Remove Duplicates from Sorted Array

看大家都写leetcode o3o       Input 传入一个已排序好的阵列位置,把它变成se...