Asked By: Anonymous
Until the latest version of aurelia beta, I was happily deploying to Azure running jspm update
as part of the deployment command.
However, since the latest beta, update
fails with
err Error: EPERM: operation not permitted, rename 'D:[email protected].0.2distamd' -> 'D:[email protected]eta.1.0.2'
at Error (native)
In an attempt to resolve this myself I have used the following at the Kudu command prompt:
jspm clean
jspm install aurelia-templating
jspm update aurelia-templating
Needless to say running jspm update
on my local machine works fine, which strongly suggests that this is a permissions problem in Azure in D:LocalLocalAppData.
Is there some way to change the permissions in this folder, or is this a problem with the aurelia-templating package itself?
Solution
Answered By: Anonymous
To fix file locking issues, just restart your Web App from the portal. This will cause a cold-restart to happen. If you’re running a production site, be aware of this downtime.