gpt4 book ai didi

ubuntu - Vagrant - npm install 不起作用

转载 作者:行者123 更新时间:2023-12-04 18:40:40 24 4
gpt4 key购买 nike

运行有问题npm install在 Vagrant 。得到这个消息。我已经在根目录中安装了模块(在我开始 vagrant ssh 之前)但我需要在 vagrant ssh 之后安装它

Last login: Sun Jun 11 09:25:02 2017 from 10.0.2.2
vagrant@vagrant-ubuntu-trusty-64:~$ npm install
The program 'npm' is currently not installed. To run 'npm' please ask your administrator to install the package 'npm'
vagrant@vagrant-ubuntu-trusty-64:~$ cd /vagrant
vagrant@vagrant-ubuntu-trusty-64:/vagrant$ npm install
The program 'npm' is currently not installed. To run 'npm' please ask your administrator to install the package 'npm'
vagrant@vagrant-ubuntu-trusty-64:/vagrant$

最佳答案

你需要安装nodenpm

$ sudo apt-get update
$ sudo apt-get install nodejs npm

关于ubuntu - Vagrant - npm install 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44482355/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com