When I run $ bower i --allow-root
, I get an "Error: spawn EACCES". I cannot figure out the where and why of it. Any help to what I have wrong is appreciated.
Within the .bowerrc
:
{
"scripts": {
"postinstall": "./.bower-postinstall.sh"
}
}
The .bower-postinstall.sh
:
#!/bin/bash
cd _op && sudo npm i
我需要设置$ chmod +x .bower-postinstall.sh
以便该文件可执行。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.