我正在尝试关注this教程并遇到Node.js安装问题。在Debian VM上安装,并在nodejs站点上运行建议的安装命令:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejson
当我运行sudo apt-get install nodejs-legacy
它给了我这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
有关正在发生的事情的任何想法?
答案 0 :(得分:0)
找到这个旧的.txt文件,其中包含一些说明,同时对垃圾进行了排序。看来我终于解决了问题。
sudo apt-get install python3-pip
curl -sL https://deb.nodesource.com/setup_6.x |须藤-E bash-
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
sudo npm i webpack -g
sudo npm install --global yarn@1.0.2
https://cloud.google.com/community/tutorials/setting-up-postgres sudo -u postgres psql -c'创建数据库销售商'
sudo -u postgres psql -c“使用超级用户创建的角色销售者CREATEROLE登录密码为'saleor';”
sudo -u postgres psql -c'将数据库saleor的所有特权授予saleor;'
sudo apt-get install python3-venv
pyvenv env1
source env1 / bin / activate
停用
sudo apt-get install git
git clone https://github.com/mirumee/saleor.git
cd saleor
pip3 install -r requirements.txt
导出SECRET_KEY ='您的密钥'
python3 manage.py migration
纱线
sudo apt-get install libfontconfig
纱线运行构建资产