2Xchampion
2Xchampion

Reputation: 656

Does Azure functions have any pre-installed npm packages? If so, how may I check them?

I'm trying to develop an Azure function locally using WebStorm/PHPStorm, was wondering if Azure functions have any pre-installed/built-in npm packages ready in the cloud, since deploying my final product becomes a process if I want to include all of them. If so, how may I check which ones are available?

Upvotes: 0

Views: 386

Answers (1)

suziki
suziki

Reputation: 14111

You can go to https://yourfunctionappname.scm.azurewebsites.net/DebugConsole to check.

If you run npm list -g --depth=0, you will get nothing.

We do not have access rights to all folders, so we cannot view the specific software packages used after configuration on the system drive, but can only see a series of packages that came with the creation of the function app.

Azure Function is based on web app sand box, so you can find pre-installed package in this folder: %ProgramFiles(x86)%\SiteExtensions(There will be many version.)

https://github.com/projectkudu/kudu/wiki/Azure-Site-Extensions#pre-installed-site-extensions-package

Upvotes: 1

Related Questions