-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Has PRoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: register
Description
Bug Report
Current Behavior
When using Azure DevOps to deploy to an Azure App Service or Function the default deployment method is Run from Package.
This will simply deploy a zip file with your whole web-app. This zip gets mounted as a read-only wwwroot directory.
The problem is that babel tries to write a cache file in the read-only directory. For some reason this generates a stack exception in the mkdirp.
Expected behavior/code
I expect a warning that tells me the cache file could not be created and caching will not be used.
Current Solution
I have succesfully used the BABEL_CACHE_PATH setting to point to a location outside of the default Azure wwwroot directory.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Has PRoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issuepkg: register