Skip to content

Missing initial packages/frontend/src/aws-config.json #8

@Zangror

Description

@Zangror

When cloning the project for the first time, any command will fail because the packages/frontend/src/aws-config.json is missing.

It seems that an empty file is enough to deploy for the first time.

> npm run deploy

> partner-alliance-suite-on-aws@1.0.0 deploy
> npm run deploy -w @partner-alliance/cdk


> @partner-alliance/cdk@0.1.0 deploy
> dotenv -- npx ts-node scripts/deploy-complete.ts


🚀 Déploiement Partner Alliance Suite

╔════════════════════════════════════════════╗
║  🔍 Vérification AWS                       ║
╚════════════════════════════════════════════╝

ℹ️  Vérification de l'environnement AWS...
ℹ️  AuthStack non trouvée (premier déploiement)

╔════════════════════════════════════════════╗
║  📦 Déploiement Infrastructure             ║
╚════════════════════════════════════════════╝

⚠️  Assets frontend manquants, construction automatique...

[0/7] Emergency Build Frontend... ❌

❌ Build Frontend d'urgence - Échec

Le frontend doit être construit avant le déploiement.
Exécutez manuellement: cd packages/frontend && npm run build:versioned

╔════════════════════════════════════════════╗
║  ❌ Déploiement Échoué                     ║
╚════════════════════════════════════════════╝

Erreur: Command failed: npm run build:versioned
npm warn config ignoring workspace config at /partner-alliance-suite-on-aws/packages/frontend/.npmrc
The following Vite config options will be overridden by SvelteKit:
  - build.cssCodeSplit
  - build.rollupOptions.output.assetFileNames
✗ Build failed in 1.51s
error during build:
Could not resolve "../../aws-config.json" from "src/lib/utils/aws-config.ts"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions