aws-samples / aws-appsync-iot-core-realtime-dashboard

This sample application demonstrates a React based web dashboard receiving real-time updates from IoT sensors. The solution is built with AWS AppSync, AWS Amplify, Amazon Location Service, and AWS IoT Core technologies.
MIT No Attribution
112 stars 31 forks source link

There was an error building the custom resources #20

Closed perryluopl closed 7 months ago

perryluopl commented 8 months ago

I follow the instructions.

$ cd aws-appsync-iot-core-realtime-dashboard/web $ npm install $ amplify init

I got the errors.

✖ There was an error initializing your environment.
🛑 There was an error building the custom resources
Packaging overrides failed with the error
Command failed with exit code 1: yarn install
ERROR: [Errno 2] No such file or directory: 'install'

node --version v16.17.0

npm --version 8.15.0

amplify --version 10.6.1

dave-moser commented 7 months ago

I have updated the project with the latest versions of several packages. Can you try again? The changes were extensive, so I recommend you start with a fresh clone of the repo.

I also updated the instructions and prerequisites in the README to match the package requirements.