I am struggling to solve error as like below when i deploy NestJS project on Google App engine.
error TS5033: Could not write file '/workspace/dist/properties/dto/property.filter.dto.d.ts': EROFS: read-only file system, open '/workspace/dist/properties/dto/property.filter.dto.d.ts'.
app.yaml file is below
runtime: nodejs10
env: standard
default_expiration: "4d 5h"
## to specify database
beta_settings:
cloud_sql_instances: "your instance connection name"
env_variables:
DATABASE_HOST: "/cloudsql/your instance connection name"
DATABASE_USERNAME: "user name"
DATABASE_PASSWORD: "password"
INSTANCE_CONNECTION_NAME: "your instance connection name"
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
tsconfig.json file is below
{
"compileOnSave": true,
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "ES2017",
"sourceMap": true,
"outDir": "./dist",
"allowJs": true,
"baseUrl": "./",
"incremental": true
}
}
it seems i can not write files in dist folder on App Engine but i am not sure why it happens.