Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 78 create new endpoints for managing the tour list #240

Conversation

SimerdeepSinghGrewal
Copy link
Contributor

Added Tour.js, tour.routes.js, tour.Controller.js, tour.service.js and tour_helper.js

Copy link
Collaborator

@erenfn erenfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test your code, and pull from origin? I think you are missing the import

node:internal/modules/cjs/loader:1251
bluewave-onboarding-onboarding_backend-1 | throw err;
bluewave-onboarding-onboarding_backend-1 | ^
bluewave-onboarding-onboarding_backend-1 |
bluewave-onboarding-onboarding_backend-1 | Error: Cannot find module '../utils/tour_helper'
bluewave-onboarding-onboarding_backend-1 | Require stack:
bluewave-onboarding-onboarding_backend-1 | - /app/src/models/Tour.js
bluewave-onboarding-onboarding_backend-1 | - /app/src/models/index.js
bluewave-onboarding-onboarding_backend-1 | - /app/src/controllers/auth.controller.js
bluewave-onboarding-onboarding_backend-1 | - /app/src/routes/auth.routes.js
bluewave-onboarding-onboarding_backend-1 | - /app/index.js
bluewave-onboarding-onboarding_backend-1 | at Module._resolveFilename (node:internal/modules/cjs/loader:1248:15)
bluewave-onboarding-onboarding_backend-1 | at Module._load (node:internal/modules/cjs/loader:1074:27)
bluewave-onboarding-onboarding_backend-1 | at TracingChannel.traceSync (node:diagnostics_channel:315:14)
bluewave-onboarding-onboarding_backend-1 | at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
bluewave-onboarding-onboarding_backend-1 | at Module.require (node:internal/modules/cjs/loader:1339:12)
bluewave-onboarding-onboarding_backend-1 | at require (node:internal/modules/helpers:135:16)
bluewave-onboarding-onboarding_backend-1 | at Object. (/app/src/models/Tour.js:5:5)
bluewave-onboarding-onboarding_backend-1 | at Module._compile (node:internal/modules/cjs/loader:1546:14)
bluewave-onboarding-onboarding_backend-1 | at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
bluewave-onboarding-onboarding_backend-1 | at Module.load (node:internal/modules/cjs/loader:1317:32) {
bluewave-onboarding-onboarding_backend-1 | code: 'MODULE_NOT_FOUND',
bluewave-onboarding-onboarding_backend-1 | requireStack: [
bluewave-onboarding-onboarding_backend-1 | '/app/src/models/Tour.js',
bluewave-onboarding-onboarding_backend-1 | '/app/src/models/index.js',
bluewave-onboarding-onboarding_backend-1 | '/app/src/controllers/auth.controller.js',
bluewave-onboarding-onboarding_backend-1 | '/app/src/routes/auth.routes.js',
bluewave-onboarding-onboarding_backend-1 | '/app/index.js'
bluewave-onboarding-onboarding_backend-1 | ]
bluewave-onboarding-onboarding_backend-1 | }
bluewave-onboarding-onboarding_backend-1 |
bluewave-onboarding-onboarding_backend-1 | Node.js v22.9.0
bluewave-onboarding-onboarding_backend-1 |
bluewave-onboarding-onboarding_backend-1 | [nodemon] app crashed - waiting for file changes before starting.

@erenfn
Copy link
Collaborator

erenfn commented Oct 12, 2024

Now ready to merge. I fixed the 'tour_helper' import to 'tour_helpers' in Tour.js and changed popup_log to popupLog in index.js (I guess the develop branch wasn't merged correctly).

@SimerdeepSinghGrewal SimerdeepSinghGrewal merged commit 9bcd5e4 into develop Oct 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants