TotallyGatsby / DroneYard

AWS Batch based automation for OpenDroneMap.
GNU General Public License v3.0
14 stars 3 forks source link

error deploying stack to aws #2

Open grayjones opened 1 year ago

grayjones commented 1 year ago

Hello. i'm trying to follow the tutorial for deploying to aws and getting the following error. Have you seen this before?

DroneYardStack.js (13,27): Cannot find module '../awsconfig.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.

  1. const path = require('path');
  2. const awsConfig = require('../awsconfig.json');
julianod commented 1 year ago

Hello, I'm with the same issue!

thursty54 commented 1 year ago

I am also having the same issue. I have added the "--resolveJsonModule" to my deploy command and to various tsconfig.json files in an attempt to fix it with no success. Any advice would be great.

TotallyGatsby commented 1 year ago

What version of Node/NPM are you all using?

thursty54 commented 1 year ago

Hey TotallyGatsby, My Node version is 18.17.1 and my npm version is 9.6.7.

kaamlaS commented 11 months ago

hey @thursty54, were you able to solve this issue?

TotallyGatsby commented 9 months ago

I now receive this warning as well, however the stack does deploy correctly. I'll poke around and see if there's something I can do to prevent the warning.