serverless-azure-functions icon indicating copy to clipboard operation
serverless-azure-functions copied to clipboard

Couldn't deploy to azure

Open networkandcode opened this issue 1 year ago • 0 comments

This is a Bug Report

Description

I am trying to deploy serverless functions on azure but keep getting this error. I have installed serverless wth npm i serverless -g and the plugin with npm i serverless-azure-functions --save

$ serverless deploy --stage sand --config serverless-azure.yml
Environment: linux, node 18.6.0, framework 3.21.0, plugin 6.2.2, SDK 4.3.2
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module "file:///home/<user-id>/notifications/node_modules/@azure/arm-appservice/node_modules/uuid/dist/index.js" must not include encoded "/" or "\" characters
    at new NodeError (node:internal/errors:387:5)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:964:11)

networkandcode avatar Aug 01 '22 03:08 networkandcode