Azure StaticWebapp Deploy Error
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I am trying to deploy a VueApp on a Azure Static WebApp and this error occurs everytime. Yesterday a ran the exact same .yml and it ran, but today I am getting this error.
Log:
Creating directory for command manifest file if it does not exist
Creating a manifest file...
Node Build Command Manifest file created.
Using Node version:
v16.20.1
Using Npm version:
8.19.4
Running 'npm install'...
npm ERR! code 243
npm ERR! git dep preparation failed
npm ERR! command /opt/nodejs/16.20.1/bin/node /opt/nodejs/16.20.1/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/github/home/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm ERR! npm ERR! code EACCES
npm ERR! npm ERR! syscall mkdir
npm ERR! npm ERR! path /github/home/.npm/_cacache/index-v5/b6/49
npm ERR! npm ERR! errno -13
npm ERR! npm ERR!
npm ERR! npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! npm ERR! previous versions of npm which has since been addressed.
npm ERR! npm ERR!
npm ERR! npm ERR! To permanently fix this problem, please run:
npm ERR! npm ERR! sudo chown -R 1001:999 "/github/home/.npm"
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! /github/home/.npm/_logs/2023-08-23T14_29_19_861Z-debug-0.log
npm ERR! A complete log of this run can be found in:
npm ERR! /github/home/.npm/_logs/2023-08-23T14_29_11_672Z-debug-0.log
---End of Oryx build logs---
Oryx has failed to build the solution.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.