fix: microorm: metedataerror & err module not found
This commit is contained in:
		
							parent
							
								
									44a433e8c9
								
							
						
					
					
						commit
						66587a36bf
					
				
					 3 changed files with 34 additions and 8 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| import { Entity, Enum, ManyToOne } from '@mikro-orm/core'; | ||||
| import { Student } from '../users/student.entity'; | ||||
| import { Class } from './class.entity'; | ||||
| import { Student } from '../users/student.entity.js'; | ||||
| import { Class } from './class.entity.js'; | ||||
| 
 | ||||
| @Entity() | ||||
| export class ClassJoinRequest { | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| import { Entity, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core'; | ||||
| import { Question } from './question.entity'; | ||||
| import { Teacher } from '../users/teacher.entity'; | ||||
| import { Question } from './question.entity.js'; | ||||
| import { Teacher } from '../users/teacher.entity.js'; | ||||
| 
 | ||||
| @Entity() | ||||
| export class Answer { | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl