Code Monkey home page Code Monkey logo

bwm-ng's Introduction

bwm-ng's People

Contributors

angular-cli avatar jerga99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bwm-ng's Issues

Getting error while executing 'npm start'

Following error is shown with 'npm start', front-end alone is running good with 'npm start-dev'. How to run the server?

`> [email protected] start /media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server

node index.js

internal/modules/cjs/loader.js:596
throw err;
^

Error: Cannot find module './dev'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server/config/index.js:4:20)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server/index.js:4:16)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ashish/.npm/_logs/2018-08-22T20_21_16_932Z-debug.log
ashish@hp:/media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server$ npm i
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

up to date in 4.308s
found 0 vulnerabilities
`

problem with ng2-datepicker

problem due time picker,time is late one day...i looked in frontend its ok,it sends good date,backend receives good date i console.log it and its ok but result from function isValidBooking i get parameters one day behind.... if i send 2020.04.12 backend receive that date,and after moment.js it sends one day behind and save in mongo 2020.04.11.
thanks

Error after trying to login

I get the following error as soon as i enter email and password for the login
``

events.js:167 throw er; // Unhandled 'error' event ^ TypeError: Cannot read property 'ratingAvg' of undefined at D:bwm-ng\server\controllers\review .js:94:32 at D:bwm-ng\node_modules\mongoose\lib \model.js:3954:16 at model.hooks.execPost (D:bwm-ng\nod e_modules\mongoose\lib\aggregate.js:811:13) atbwm-ng\node_modules\kareem\index .js:135:16 at process._tickCallback (internal/process/next_tick.js:61:11) Emitted 'error' event at:

``

server.js file is missing

So the server.js file is missing from this repository (the one you reference in your video), making this whole thing not work. Any pointers?

Thanks in advance!

ERROR IN PROXY REQUEST FROM http://localhost:3001 TO http://localhost:4001

[HPM] Error occurred while trying to proxy request /api/v1/reviews/5d93337a6acd1f0dc81c26ce/rating from localhost:4200 to http://localhost:3001 (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /api/v1/users/5d93337a6acd1f0dc81c26c6 from localhost:4200 to http://localhost:3001 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /api/v1/rentals from localhost:4200 to http://localhost:3001 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

ERROR IN EVENTS.JS AND RATING AVG

events.js:174
throw er; // Unhandled 'error' event
^

TypeError: Cannot read property 'ratingAvg' of undefined
at C:\bb\server\controllers\review.js:94:32
at C:\bb\node_modules\mongoose\lib\model.js:4638:16
at C:\bb\node_modules\mongoose\lib\utils.js:264:16
at model.hooks.execPost (C:\bb\node_modules\mongoose\lib\aggregate.js:974:13)
at C:\bb\node_modules\kareem\index.js:135:16
at process._tickCallback (internal/process/next_tick.js:61:11)
Emitted 'error' event at:

[nodemon] app crashed - waiting for file changes before starting...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.