Skip to content

Cannot run the app locally #2

Description

@petrbroz

I've run into a couple of issues when trying to setup and run the app locally:

  • When running npm run init, the script complains about a missing env. var. DEPLOY_TARGET which doesn't seem to be mentioned anywhere in the README
  • When trying to run the local server app with npm run dev, the app crashes due to some error in the draco3d dependency
    • I've seen this issue in the past, too, but don't know how to resolve it :/
    • For now I've resolved the issue by removing the gltf-pipeline dependency from the code
  • Then, after running npm run dev again, the Node.js process complained about "promise rejection not being handled", and exited
    • I fixed that by adding a .catch call to the adminController.wakeUp()... chain
    • After that I found out that this wakeUp() call is rejected with a 403 error (Only the bucket creator is allowed to access this api.)
    • It seems that the npm run init script configures a bucket for my app called digital-catalog-localhost-development but this bucket is not owned by my Forge credentials... did I do something wrong during the configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions