菜鸟遇到ubuntu的疑难杂症
2017-11-22 14:41
337 查看
命令如下:
报错信息如下
解决办法如下:
链接:https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24
命令如下:
报错信息如下
解决办法如下:
链接:http://blog.csdn.net/junmuzi/article/details/18803687
npm成功安装后,执行命令时找不到命令
解决方案:修改配置环境
链接:http://blog.csdn.net/wirelessqa/article/details/53393248
>sudo apt-get update
报错信息如下
>E: Problem executing scripts APT::Update::Post-Invoke-Success ‘if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi’ >E: Sub-process returned an error code
解决办法如下:
链接:https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24
>cd /tmp && mkdir asfix >cd asfix >wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb >wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb >sudo dpkg -i *.deb
命令如下:
>npm install vue --save
报错信息如下
⚠ The `/home/fg/web/php/recipe-box/node_modules/_mozjpeg@4.1.1@mozjpeg/vendor/cjpeg` binary doesn't seem to work correctly ⚠ mozjpeg pre-build test failed ℹ compiling from source ✖ Error: autoreconf -fiv && ./configure --disable-shared --prefix="/home/fg/web/php/recipe-box/node_modules/_mozjpeg@4.1.1@mozjpeg/vendor" --bindir="/home/fg/web/php/recipe-box/node_modules/_mozjpeg@4.1.1@mozjpeg/vendor" --libdir="/home/fg/web/php/recipe-box/node_modules/_mozjpeg@4.1.1@mozjpeg/vendor" && make --jobs=1 && make install --jobs=1 Command failed: autoreconf -fiv /bin/sh: 1: autoreconf: not found
解决办法如下:
链接:http://blog.csdn.net/junmuzi/article/details/18803687
>sudo apt-get install autoconf automake libtool
npm成功安装后,执行命令时找不到命令
fg@fg-ubuntu:~$ npm install -g n /opt/node/bin/n -> /opt/node/lib/node_modules/n/bin/n /opt/node/lib └── n@2.1.8 fg@fg-ubuntu:~$ n stable bash: n: 未找到命令
解决方案:修改配置环境
链接:http://blog.csdn.net/wirelessqa/article/details/53393248
fg@fg-ubuntu:~$ echo -e "export PATH=$(npm prefix -g)/bin:$PATH" >> ~/.bashrc && source ~/.bashrc fg@fg-ubuntu:~$ vue Usage: vue <command> [options] Options: -V, --version output the version number -h, --help output usage information Commands: init generate a new project from a template list list available official templates build prototype a new project help [cmd] display help for [cmd]
相关文章推荐
- ubuntu安装redis遇到的问题(我还是菜鸟,捣鼓了半天)/(ㄒoㄒ)/~~
- Ubuntu 菜鸟遇到的问题
- 菜鸟安装Ubuntu笔记遇到的问题
- Ubuntu14.1 安装 搜狗输入法时遇到的问题
- Ubuntu虚拟机安装遇到的各种坑
- Linux--软件安装+常用命令--1:Ubuntu Server 12.04 安装手记 + Ubuntu 12.04 菜鸟完全使用教程PDF
- ubuntu: apt-get update的时候遇到“Hash Sum mismatch”错误
- Ubuntu上安装MySql过程,以及遇到的一些问题
- akira的硬盘安装ubuntu 16.04 过程及遇到的问题
- ubuntu当中配置MAVEN遇到的各种问题
- [菜鸟级]Ubuntu Java 开发环境搭建
- Ubuntu15.04安装到Macbook pro (Early 2015)遇到的问题
- Ubuntu10.10 编译Android2.3源码时遇到的错误和解决办法
- ubuntu搭建svn、git遇到的问题及解决办法
- Ubuntu下编译Linux Kernel遇到的小问题,个人记录下来
- Ubuntu 14.4 使用中遇到的问题汇总
- ubuntu14.04安装DevStack与遇到的的问题记录
- ubuntu下安装pillow python 疑难杂症
- 我是菜鸟,我装Ubuntu