-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
tencent-django/example/serverless.yml
Line 17 in c1671fe
- source: ./requirements |
从逻辑上来说这个确实是最好的解决方案,但在使用上却出现了一定的问题:
$ sls deploy
serverless ⚡framework
Action: "deploy" - Stage: "dev" - App: "appDemo" - Instance: "djangoDemo"
**/*
{ source: './requirements', prefix: '../' }
(node:3272) UnhandledPromiseRejectionWarning: TypeError: Patterns must be a string (non empty) or an array of strings
at assertPatternsInput (C:\Users\qq143\AppData\Roaming\npm\node_modules\serverless\node_modules\fast-glob\out\index.js:64:15)
at FastGlob (C:\Users\qq143\AppData\Roaming\npm\node_modules\serverless\node_modules\fast-glob\out\index.js:9:5)
at map.map (C:\Users\qq143\AppData\Roaming\npm\node_modules\serverless\node_modules\@serverless\platform-client-china\src\instance.js:270:35)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3272) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To term
inate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:3272) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
可见,在处理此处时sls framework未能正确理解输入,请问什么时候能完成对此处的支持呢?
感谢!
Metadata
Metadata
Assignees
Labels
No labels