mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-26 19:21:39 +00:00
debug npm generate not working
This commit is contained in:
parent
f972533947
commit
e3b83d6ed2
1 changed files with 12 additions and 4 deletions
|
|
@ -11,9 +11,17 @@
|
|||
"eamodio.gitlens"
|
||||
],
|
||||
"remoteUser": "node",
|
||||
"postCreateCommand": {
|
||||
"git": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
||||
"server install": "cd ${containerWorkspaceFolder} && sudo chown $(id -u):$(id -g) node_modules && npm i --from-lockfile",
|
||||
"client install": "cd ${containerWorkspaceFolder}/client && sudo chown $(id -u):$(id -g) node_modules && npm i --from-lockfile && npm run generate"
|
||||
// "postStartCommand": [
|
||||
// "git",
|
||||
// "config",
|
||||
// "--global",
|
||||
// "--add",
|
||||
// "safe.directory",
|
||||
// "${containerWorkspaceFolder}"
|
||||
// ],
|
||||
"postStartCommand": {
|
||||
// "git": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
||||
"server": "cd ${containerWorkspaceFolder} && sudo chown $(id -u):$(id -g) node_modules && npm i --from-lockfile",
|
||||
"client": "cd ${containerWorkspaceFolder}/client && sudo chown $(id -u):$(id -g) node_modules && npm i --from-lockfile && npm run generate"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue