Skip to content

请问什么时候能够支持示例项目的部署方式呢? #13

@cxgreat2014

Description

@cxgreat2014

- 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions