build issues..
See original GitHub issueso 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:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If your goal is to achieve a local dev-loop that is no longer the recommended way to achieve it.
thanks @nicolasburtey , I must get back to it. Have got sidetracked with a bunch of other side projects the last few months 😦