jon-peppinck / linkedin-clone Goto Github PK
View Code? Open in Web Editor NEWLinkedIn Clone - Ionic, Angular, NestJS, PostgreSQL
LinkedIn Clone - Ionic, Angular, NestJS, PostgreSQL
when I try to run the feedcontroller tests, I get the following error:
โ Test suite failed to run
Cannot find module 'src/chat/models/conversation.entity' from 'auth/models/user.entity.ts'
Require stack:
auth/models/user.entity.ts
feed/models/post.entity.ts
feed/services/feed.service.ts
feed/controllers/feed.controller.ts
feed/controllers/feed.controller.spec.ts
10 | import { Role } from './role.enum';
11 | import { FriendRequestEntity } from './friend-request.entity';
> 12 | import { ConversationEntity } from 'src/chat/models/conversation.entity';
| ^
13 | import { MessageEntity } from 'src/chat/models/message.entity';
14 |
15 | @Entity('user')
at Resolver.resolveModule (../node_modules/jest-resolve/build/resolver.js:311:11)
at Object.<anonymous> (auth/models/user.entity.ts:12:1)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 2.227 s
Ran all test suites matching /\/home\/user\/linkedin-clone\/api\/src\/feed\/controllers\/feed.controller.spec.ts/i with tests matching "FeedController".
How can I fix that?
Learned a lot from this. Thank you!
Wouldn't the exceptions keep looping infinitely if an error occurs while writing to the error file?
Hi there,
When trying to deploy the application using the "Setup Node.js Application" tool in cPanel, I tried using the contents of the folder in "dist" but that doesn't seem to work because there's no package.json.
Is there a deployment instruction sheet somewhere?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.