Comments (4)
在Mac操作系统下出现权限问题,可能是node_module目录的权限问题导致的。此时可以考虑:
sudo chmod -R 777 ${nodejs node module path}
sudo chown -R $USER ${nodejs node module path}
可以尝试替换
${nodejs node module path}
为user/local/lib/node_module
,例如:sudo chmod -R 777 user/local/lib/node_modules sudo chown -R $USER user/local/lib/node_modules
from serverless-devs.
如果系统出现类似以下的错误:
可以考虑通过以下指令解决:
sudo chmod -R 777 ~/.s/
from serverless-devs.
@heimanba 大佬,这一部分你看一下,如果在新的项目中,如果不会出现这个问题,可以帮忙点一下unpin issue
from serverless-devs.
已经解决了,其实理论上window也不必出现这样的问题了。不需要在管理员的模式下运行,在powershell 模式下执行也是ok 的
from serverless-devs.
Related Issues (20)
- 为什么 s 命令在阿里云的设备上 .s 的目录会不一样 HOT 5
- FunctionName doesn't match expected format HOT 5
- 部署edition:3的yaml文件时,报错`url: https://api.devsapp.cn/v3/packages/oss/release/latest is not found` HOT 1
- 升级到 3.0.1 版本后,在本地执行 s init --uri ./local_application_xxxxx 时,会将本地应用模版删除 HOT 4
- 3.0.1 版本 devs-cli 执行 s registry publish 报错 HOT 4
- 2.0应用改成3.0 的协议报错信息很难理解 HOT 3
- nodejs 子进程调用devs 获取不了环境变量 HOT 1
- The ots table backup application specifies a service role, but the deployed service uses the default role. HOT 9
- 不同云厂商帮助渠道 / 需要帮助的小伙伴点击了解详情 HOT 1
- Mac & Windows 用户安装常见问题汇总
- yaml schema 不支持自定义变量 HOT 1
- 发布自定义容器时,docker login --password-stdin 疑似在 windows command propmt 中失效 HOT 6
- A potential risk in the start-word2pdf can be used to attack the OSS bucktes. HOT 2
- A potential risk in the fc-llm-api can be used to escalate permission. HOT 2
- A potential risk in the fc-stable-diffuson can be used to escalate permission. HOT 5
- SyntaxError: missing ) after argument list HOT 1
- Support random string generation during template initialization HOT 1
- s init 阶段,在模板中的变量多处依赖 ${default-suffix},但是生成后每个 default-suffix 的值都不同 HOT 4
- 组件开发,执行npm run pub报“Error Message: 权限异常” HOT 4
- s xx --help提供的文档网站域名已过期 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-devs.