Activiti / activiti-modeling-app

Activiti Modeling Application
Apache License 2.0
184 stars 93 forks source link

npm start failed because of json format #298

Closed dannyxu2015 closed 1 year ago

dannyxu2015 commented 1 year ago

Type of issue: (check with "[x]")

  • [ ] New feature request
  • [x] Bug
  • [ ] Support request
  • [ ] Documentation

Current behaviour:

npm start

activiti-modeling-app@0.2.0 prestart mkdir -p ./app/.tmp && npm run assemble-app-config && npm run validate-app-config

activiti-modeling-app@0.2.0 assemble-app-config envsub --env-file ./.env --env APP_CONFIG_BPM_HOST=http://localhost:4201 --env APP_CONFIG_ECM_HOST=http://localhost:4201 --all ./app/src/app.config.json.tpl ./app/.tmp/app.config.json

Skipping environment variable file './.env' due to ENOENT: no such file or directory, open './.env'

activiti-modeling-app@0.2.0 validate-app-config ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d ./app/.tmp/app.config.json --errors=text --verbose

error: /Users/danny/weixing/activiti-modeling-app/app/.tmp/app.config.json: Unexpected token $ in JSON at position 560

Expected behavior:

Steps to reproduce the issue:

Component name and version:

Browser and version:

Chrome 104.0.5112.101 (x86_64) **Node version (for build issues):**

v16.15.0

New feature request: