Skip to content

Errrors found when doing "npm run build" #1

@twocoins-ca

Description

@twocoins-ca

npm install; npm run build

serverless-data-analytics@0.1.0 build
tsc

lib/lambda/athena-table-scheduler/src/index.ts:1:58 - error TS2307: Cannot find module '@aws-sdk/client-athena' or its corresponding type declarations.

1 import { AthenaClient, StartQueryExecutionCommand } from '@aws-sdk/client-athena';
~~~~~~~~~~~~~~~~~~~~~~~~

lib/lambda/athena-table-scheduler/src/index.ts:2:32 - error TS2307: Cannot find module 'aws-lambda' or its corresponding type declarations.

2 import { ScheduledEvent } from 'aws-lambda';
~~~~~~~~~~~~

test/serverless-data-analytics.test.ts:3:42 - error TS2307: Cannot find module '../lib/serverless-data-analytics-stack' or its corresponding type declarations.

3 import * as ServerlessDataAnalytics from '../lib/serverless-data-analytics-stack';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 3 errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions