aws-samples / aws-samples/amazon-ivs-ugc-sample

Unable to do DB migration

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I am trying to setup StreamCat project on my local machine. I managed to setup CDK but when I try to do DB migration using following command:

`node ace migration:run`

I run into following error:

```
Error: Package subpath './build/src/requireHook' is not defined by "exports" in
/amazon-ivs-ugc-sample/web/node_modules/@adonisjs/assembler/package.json

⁃ resolveFileName
/amazon-ivs-ugc-sample/web/node_modules/resolve-from/index.js:29
⁃ resolveFrom
/amazon-ivs-ugc-sample/web/node_modules/resolve-from/index.js:43
⁃ module.exports
/amazon-ivs-ugc-sample/web/node_modules/resolve-from/index.js:46
```

I tried many different ways to resolve this issue but couldn't resolve it. Appreciate if you could guide me to the right direction.

Following is my development environment setup:
OS: macOS Sequoia
NodeJS: v20.18.0
NPM Version : 10.8.2
Yarn Version: 1.22.19

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.