可能是由于node_modules模块中缺失或者某些东西冲突引起的,我们可以使用如下的方法解决这个: rm -rf node_modules 删除,不询问 rm package-lock.json 删除,询问 npm cache clear --force 清除缓存 npm install 重新下载node包…
解决方法: 安装python-devel即可,注意,不是python-dev yum -y install python-devel…
直接打开/usr/local/src/apr-1.4.6/configure  把 $RM“$cfgfile” 那行删除掉 $RM“$cfgfile” 大约在 42302行 然后再重新运行  ./configure  --prefix=/usr/local/apr  就可以了网上说的其他解决办法如下,但我应用都不行: #aclocal# autoconf# automake# libtoolize –force 或者: #autoreconf –force –install# libtooliz…
1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr…
Windows Essentials Movie Maker 安装失败报错: (软件包名: wlsetup-all.exe) 查到官方论坛给出了一些回复: https://social.technet.microsoft.com/Forums/windows/en-US/583637d8-434d-4fb6-9abd-b86820cd96dc/unable-to-install-windows-live-2012-into-windows-10-amp-windows-81error0x800c…
在学习vue的时候,npm install的时候报错  npm err code 1,当时很郁闷,是‘vue init webpack my-project’命令新建的模版项目 ,怎么会报错,第一次遇到这样的问题,很郁闷. 于是就问了度娘,然后 使用了‘ npm i -g npm ’ 命令,然后再 npm install,npm run dev 的时候就正常能启动项目了.…
 连接数据库报错:“SQLSTATE[HY000] [2002] No such file or directory”. 出现这个问题的原因是PDO无法找到mysql.sock或者mysqld.sock. 解决方法1:找到相应的.sock文件,并设置php.ini文件中的pdo_mysql.default_socket的值为.sock文件的路径. pdo_mysql.default_socket= /tmp/mysqld.sock 然后重启Apache,或者nginx下重启php-fpm即可.…
Windows下使用ssh-add报错 Error connecting to agent: No such file or directory 环境信息 操作系统:windows 10 终端:Windows PowerShell 问题 使用ssh-add时报错 PS D:\code> ssh-add -l Error connecting to agent: No such file or directory 处理步骤 检查ssh-agent服务是否启动成功 PS D:\code> get-…
一.调用python脚本报错 /usr/bin/env: python: No such file or directory 二.解决方法 原因是在windows上编写的脚本,使用dos2unix对脚本格式化一下 # yum install dos2unix -y # dos2unix sendSMS.py…
在npm之后出现如下错误: $ npm install npm WARN checkPermissions Missing write access to /Users/lucas/code/js/vue/train/vue-sample/node_modules/follow-redirects npm ERR! path /Users/lucas/code/js/vue/train/vue-sample/node_modules/follow-redirects npm ERR! code…