找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2505|回复: 8

[N1盒子] n1能不能安装nodejs啊

[复制链接]
发表于 2019-5-22 18:42 | 显示全部楼层 |阅读模式
我安装总是报错 armbian下
我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-5-22 18:45 | 显示全部楼层
可以,我用得好好的

点评

一直报错这个 E: The repository 'https://openmediavault.github.io/packages arrakis Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is there  详情 回复 发表于 2019-5-22 18:52
我用的官网那2行命令 # Using Debian, as root curl -sL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs 一直不行  详情 回复 发表于 2019-5-22 18:49
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-22 18:48 | 显示全部楼层
我的环境是5.77 debian 服务器版,代码如下:
  1. apt-get --purge remove node
  2. apt-get --purge remove nodejs
  3. apt-get autoremove
  4. curl -sL https://deb.nodesource.com/setup_8.x | bash -
  5. apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-5-22 18:49 | 显示全部楼层
k110011 发表于 2019-5-22 18:45
可以,我用得好好的

我用的官网那2行命令
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs

一直不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-22 18:50 来自手机 | 显示全部楼层
这个没问题的,gcc,golang都可以
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-5-22 18:52 | 显示全部楼层
k110011 发表于 2019-5-22 18:45
可以,我用得好好的

一直报错这个
E: The repository 'https://openmediavault.github.io/packages arrakis Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error executing command, exiting
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-22 19:01 | 显示全部楼层
  1. sudo apt-get install nodejs
  2. sudo apt-get install npm
复制代码


我是这样安装的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-22 23:44 | 显示全部楼层
安装nvm, 在安装 nodejs
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-5-23 11:28 | 显示全部楼层
我当时是apt安装不成功 从网上搜了个一键脚本一装就装上了 还能随意切换版本
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 11:12

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表