gematik / codfsh

codfsh is a VS Code Extension to support compilation and validation of FHIR profile definitions. Short Hand files (.fsh) can be compiled and validated easily with Sushi and HAPI validator
Other
6 stars 1 forks source link

firely terminal inflate error #35

Open patrick-werner opened 5 months ago

patrick-werner commented 5 months ago

When using .devcontainer the package snapshot generation fails with: One or more errors occurred. (Read-only file system : '/package.json')

The reason is, that firely terminal wants to add the dependency to the package.json, if none is found it wants to create a new package.json file.

As a workaround i modified the devcontainer.json, and added:

"mounts": [
    "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached"
  ]

(i also removed COPY . /workspace from the DOCKERFILE.)

Now i am getting:

[INFO]  Package installed: de.basisprofil.r4@1.5.0-ballot2
One or more errors occurred. (Access to the path '/vscode/vscode-server/bin/alpine-arm64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/package.json' is denied.)