nodejs的版本是不是该更新了,官网都到v8了
Tofloor
poster avatar
fangchanzhongjie
deepin
2018-03-01 21:03
Author
nodejs的版本是不是该更新了,官网都到v8了,库里才v6。
Reply Favorite View the author
All Replies
avatar
aida
deepin
2018-03-01 23:31
#1
已经提交更新任务了,给你更新到9.6版本
Reply View the author
avatar
fangchanzhongjie
deepin
2018-03-01 23:48
#2
https://bbs.deepin.org/post/153684
已经提交更新任务了,给你更新到9.6版本

多谢!回答非常迅速!(不过v8是LTS的,v9是有更新的,这是不是要选择一下之类的...我也不懂一般要怎么操作)
Reply View the author
avatar
nocode
deepin
2018-03-02 00:30
#3
用nvm吧。。。。
Reply View the author
avatar
fangchanzhongjie
deepin
2018-03-02 00:33
#4
多谢大佬们......然而看来我的意思传达错误了......我原来是想说“库里应该放v8还是v9”......
Reply View the author
avatar
yutent
deepin
2018-03-02 03:48
#5
It has been deleted!
avatar
186******26
deepin
2018-03-02 04:02
#6
https://bbs.deepin.org/post/153684
nodejs官方有自己的源, 自己加一下就好了。想装哪个版本都可以

加官方源,报错:
## Your distribution, identified as "unstable", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
Reply View the author
Comments
yutent
2018-03-03 01:22
可以自己改一下发行版的名字,改回debian的, 这样可以一劳永逸。现在其他软件源都没有专门识别deepin的。
或者自己手动写源地址, 如楼下的。
avatar
158******91
deepin
2018-03-02 05:34
#7
  1. deb https://deb.nodesource.com/node_8.x jessie main
  2. # deb-src https://deb.nodesource.com/node_8.x jessie main
Copy the Code

这是我现在用的,可以正常更新
Reply View the author
avatar
fengying6_6
deepin
2018-03-02 06:13
#8
Reply View the author
avatar
int_max
deepin
2018-03-02 07:53
#9
sahala232 发表于 2018-3-1 20:02
加官方源,报错:
## Your distribution, identified as "unstable", is not currently supported, pleas ...

我改了setup_9.x.sh加的,好像是这样。。。当时也遇到这个问题了,假装你是debian或ubuntu就行,完全兼容的
Reply View the author
avatar
int_max
deepin
2018-03-02 07:54
#10
aida 发表于 2018-3-1 15:31
已经提交更新任务了,给你更新到9.6版本

然而官方已经更新到9.7.0了哈哈哈,node更新还是很快的
Reply View the author
avatar
jlice
deepin
2018-03-02 08:16
#11
node版本太多 可以用nvm
Reply View the author
avatar
aida
deepin
2018-03-02 19:40
#12
https://bbs.deepin.org/post/153684
然而官方已经更新到9.7.0了哈哈哈,node更新还是很快的

所以我们没办法跟官网保持一致,只能说大版本差不多。
Reply View the author
avatar
186******26
deepin
2018-03-02 20:53
#13
https://bbs.deepin.org/post/153684
所以我们没办法跟官网保持一致,只能说大版本差不多。

像这种快速更新的开发平台类的,能支持LTS版本就行。
Reply View the author
avatar
155******38
deepin
2018-03-02 21:20
#14
直接更新到9.7,搞个文件夹,配置好环境变量,每回出最新版就直接覆盖。nodejs这版本帝真的没必要追。我的app还在v6
Reply View the author