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?
I've run into a couple of issues when trying to setup and run the app locally:
npm run init, the script complains about a missing env. var.DEPLOY_TARGETwhich doesn't seem to be mentioned anywhere in the READMEnpm run dev, the app crashes due to some error in thedraco3ddependencygltf-pipelinedependency from the codenpm run devagain, the Node.js process complained about "promise rejection not being handled", and exited.catchcall to theadminController.wakeUp()...chainwakeUp()call is rejected with a 403 error (Only the bucket creator is allowed to access this api.)npm run initscript configures a bucket for my app calleddigital-catalog-localhost-developmentbut this bucket is not owned by my Forge credentials... did I do something wrong during the configuration?