Aaron Gray
Aaron Gray
@gobengo - I did have a look at solving them as I wanted to put up an instance online but it was not obvious.
``` C:\Users\aaron\GitHub\distbin>npm run tsc > [email protected] tsc > tsc node_modules/highlight.js/types/index.d.ts:4:1 - error TS1084: Invalid 'reference' directive syntax. 4 /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/highlight.js/types/index.d.ts:55:54 - error TS1110: Type expected. 55 either: (...args: (RegExp...
``` C:\Users\aaron\GitHub\distbin>npm install [email protected] npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/typescript npm WARN peer typescript@"*" from [email protected] npm WARN...
``` C:\Users\aaron\GitHub\distbin>npm run start:ts-node > [email protected] start:ts-node > ts-node bin/server.ts C:\Users\aaron\GitHub\distbin\node_modules\ts-node\src\index.ts:253 return new TSError(diagnosticText, diagnosticCodes) ^ TSError: ⨯ Unable to compile TypeScript: bin/server.ts(52,30): error TS2345: Argument of type 'IDistbinConfig &...
deleting the `cache` directory and rebooting seems to solve it.
Still getting this issue after failed builds :- https://paste.armbian.com/yarohanuzi @igorpecovnik - Its like loop devices are not being freed if a build fails !
I will install another version of Ubuntu on a new drive and test whether the problem is specific to this install or not. This seems to solve the issue temporarily....
I found a solution to my issue it appears **snaps** was causing an issue with eating loop devices on my machine :- https://ashrafur.medium.com/how-to-clean-up-old-snap-revisions-and-remove-loop-devices-93e38f1ad1f8
@igorpecovnik please can you look into @edumeneses solution https://github.com/armbian/build/issues/6417#issuecomment-2035279289 and see if solves this issue so we can close it ?
@Jberma23 - Working example based on your code :- https://github.com/AaronNGray/typeorm-seeding-example