yarn build on wsl-2 #399
-
I am trying to build the repo on wsl-2 (ubuntu 20.04) is yarn 3 required for builds if I run with yarn 3.1.1 then the tests pass, however when I run "yarn build" I do get the error below, also if I run "yarn lint" I do get a bunch of errors. Are these expected? If I try to run with yarn 1.23.0 I get a bunch of errors is this expected? src/globals/buildModel.ts:16:5 - error TS2741: Property 'paginate' is missing in type 'Model<unknown, {}, {}, {}>' but required in type 'PaginateModel<any, {}, {}, {}>'. 16 return Globals; node_modules/@types/mongoose-paginate-v2/index.d.ts:78:9 Found 1 error. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for the report @mwoodpatrick. I was able to recreate this on my machine. It's interesting that we're not seeing this in our CI process, which runs Regarding the |
Beta Was this translation helpful? Give feedback.
-
@mwoodpatrick The fix for this has just been merged with #402 . Let us know if you run into any other issues. |
Beta Was this translation helpful? Give feedback.
@mwoodpatrick The fix for this has just been merged with #402 . Let us know if you run into any other issues.