-
Notifications
You must be signed in to change notification settings - Fork 35
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
Issue 78 create new endpoints for managing the tour list #240
Conversation
working endpoints for tours
…t' of https://github.com/bluewave-labs/bluewave-onboarding into Issue-78-create-new-endpoints-for-managing-the-tour-list
…nboarding into Issue-78-create-new-endpoints-for-managing-the-tour-list
…nboarding into Issue-78-create-new-endpoints-for-managing-the-tour-list
There was a problem hiding this 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.
…nboarding into Issue-78-create-new-endpoints-for-managing-the-tour-list
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). |
Added Tour.js, tour.routes.js, tour.Controller.js, tour.service.js and tour_helper.js