question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

so yarn add-charts has run successfully and everything is green in my minikube dashboard, but yarn run build is still giving me problems:

add charts: (all good)

Emmett@MDs-MacBook-Pro galoy % yarn add-charts
yarn run v1.22.10
$ export LOCAL=true && source ./exportLocal.sh && ./initLocalTest.sh
..
..
NAME: galoy
LAST DEPLOYED: Wed Jun 16 11:18:35 2021
NAMESPACE: default
STATUS: deployed
REVISION: 2
waiting for -n=default -l app.kubernetes.io/instance=galoy
pod/galoy-admin-panel-7c777c9d99-g2q72 condition met
pod/galoy-lnpage-dcc859664-gzc4s condition met
pod/galoy-lnpay-7c5578cf49-d6jrw condition met
pod/galoy-mongodb-0 condition met
pod/galoy-price-76d7d8cbb5-bsfh6 condition met
pod/galoy-redis-node-0 condition met
✨  Done in 506.76s.

Yarn build issues:

Emmett@MDs-MacBook-Pro galoy % yarn --version
1.22.10
Emmett@MDs-MacBook-Pro galoy % node --version
v14.0.0
Emmett@MDs-MacBook-Pro galoy % yarn install
yarn install v1.22.10
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.68s.
Emmett@MDs-MacBook-Pro galoy % yarn run build
yarn run v1.22.10
$ tsc -p tsconfig-build.json && cp -R src/protos lib && cp src/schema.graphql lib
src/AdminOps.ts:11:26 - error TS2339: Property 'findByUsername' does not exist on type 'Model<any, any, any>'.

11     return !!(await User.findByUsername({ username }))
                            ~~~~~~~~~~~~~~

src/AdminOps.ts:27:29 - error TS2339: Property 'findByUsername' does not exist on type 'Model<any, any, any>'.

27     const user = await User.findByUsername({ username });
                               ~~~~~~~~~~~~~~

src/entrypoint/dailyBalanceNotification.ts:18:28 - error TS2339: Property 'getActiveUsers' does not exist on type 'Model<any, any, any>'.

18   const users = await User.getActiveUsers({})
                              ~~~~~~~~~~~~~~

src/entrypoint/graphql.ts:165:39 - error TS2339: Property 'getUser' does not exist on type 'Model<any, any, any>'.

165       const { _id: uid } = await User.getUser({ username, phone })

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bodymindartscommented, Jul 18, 2021

If your goal is to achieve a local dev-loop that is no longer the recommended way to achieve it.

0reactions
walshecommented, Nov 4, 2021

thanks @nicolasburtey , I must get back to it. Have got sidetracked with a bunch of other side projects the last few months 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolving common configuration and build issues
Review common configuration and build issues and learn how you can resolve them. Overview. Xcode guides you through the process of configuring your...
Read more >
Common Issues When Building a Custom Home
Building a custom home comes with many challenges to overcome. This guide can help you navigate the most common issues.
Read more >
About Issues | Build - Autodesk Knowledge Network
The Issues tool provides a set of preconfigured categories and types under those categories to organize the issues on your project. You can...
Read more >
Understanding build issue resolution in practice: symptoms ...
Our key findings reveal that build issues stretch over a wide spectrum of symptoms; 67.96% of the build issues are fixed by modifying...
Read more >
Issues Archives - Build Magazine
Browse all published posts in the Issues category on Build Magazine. ... We welcome you back for our final issue of the year...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found