inflearn logo
강의

Course

Instructor

Creating NodeBird SNS with React

8-17. Lambda deployment and finishing

8-17 claudia create 오류

242

kwanho jo

1 asked

0

 sudo claudia create --region ap-northeast-2 --handler index.handler

packaging files npm install -q --no-audit --production

 

> sharp@0.22.1 install /tmp/ox1onV/nobird-lamda-1.0.0-sdbkRO/package/node_modules/sharp

> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

 

info sharp Using cached /root/.npm/_libvips/libvips-8.7.4-linux-x64.tar.gz

npm WARN nobird-lamda@1.0.0 No repository field.

 

validating package

Error: Service must be constructed with `new' operator

    at Object.Service (/tmp/ox1onV/nobird-lamda-1.0.0-sdbkRO/package/node_modules/aws-sdk/lib/service.js:25:28)

    at Object.features.constructor [as S3] (/tmp/ox1onV/nobird-lamda-1.0.0-sdbkRO/package/node_modules/aws-sdk/lib/util.js:624:24)

    at Object.<anonymous> (/tmp/ox1onV/nobird-lamda-1.0.0-sdbkRO/package/index.js:4:16)

    at Module._compile (internal/modules/cjs/loader.js:776:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)

    at Module.load (internal/modules/cjs/loader.js:653:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)

    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

    at Module.require (internal/modules/cjs/loader.js:690:17)

    at require (internal/modules/cjs/helpers.js:25:18)

cannot require ./index after clean installation. Check your dependencies.

root@ip-172-31-40-6:/home/ubuntu/nobird-react/lamda# 

root@ip-172-31-40-6:/home/ubuntu/nobird-react/lamda# sudo claudia create --region ap-northeast-2 --handler index.handler

packaging files npm install -q --no-audit --production

 

> sharp@0.22.1 install /tmp/hXIP6o/nobird-lamda-1.0.0-m6LF4H/package/node_modules/sharp

> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

 

javascript react

Answer 2

0

yms02142108

1-4 Ant Design

index.js에서 AppLayout 을 import를 불러오질 못하고 아래와 같은 에러코드만 계속 해서 뜨고 있습니다 ㅠ 

 

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

0

zerocho

에러 메시지에 new가 없다고 나오는데 new AWS.S3 안하셨나요?

next 10 이상에서는 redux dev tool 구동이 안되나요?

0

272

1

세션 갱신 문의 건

0

482

7

배포 진행 후 Highlight updates components render 표시

0

445

1

똑같은 기능을 하는 테이블

0

447

4

관계형

0

312

2

프론트 서버를 이용하지 않는경우

1

299

3

인피니트 스크롤링 사용시 오류

0

278

0

계속 이런에러가 떠서 해결하기는 했는데 어떤 의미인지 모르겠습니다.

0

433

2

req.user가 언제 생성되나요??

0

330

2

Cannot read property 'id' of null 에러

0

332

1

리트윗한 게시글 불러오는 sequelize

0

252

1

result.data에서 images인 이유

0

281

2

takeLatest에 대한 질문입니다.

1

342

2

프론트에서 express를 사용하지 않을때 동적라우팅

0

501

6

getInitialProps가 클라이언트에서 수행되는 이유?

0

258

1

리로드하면 팔로우 언팔로우 값이 초기화 되는 문제입니다.

0

445

2

스타일드 컴포넌트와 className을 통한 스타일 적용의 차이에 대해 궁금합니다

0

585

2

할인 쿠폰 사용이 안되는되요 (848-f9af83f183e3)

0

365

1

nodejs mvc 패턴

0

975

4

사용하고 보니, 람다 구성이 궁금합니다!

0

266

1

제로초님

0

445

1

새로고침 로그인 풀림 문제.

0

247

1

안녕하세요. 강의 너무 감사합니다

0

157

1

제로초님

0

170

1