Code Monkey home page Code Monkey logo

fashlogue-api's Introduction

fashlogue

A catalog listing application built with typescript, nextjs, sass and redux.

fashlogue-api's People

Contributors

fashlogue avatar ogbiyoyosky avatar

Stargazers

 avatar

fashlogue-api's Issues

ERROR: Burked bcrypt import error

ERROR:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ekpo eddy\AppData\Roaming\npm-cache_logs\2019-01-22T11_22_15_061Z-debug.log

in the package.JSONfile the dependency was name "bcrypt-nodejs" but imported as "bcrypt"

Steps to reproduce the behavior:

  1. npm install --save bcrypt-nodejs && npm uninstall --save bcrypt
  2. Run "npm run dev"

How to solve

  1. Go to package.json file
  2. Copy the dependency:" bcrypt-nodejs"
  3. Open the root file of the app => src => app => user.model.ts
  4. Change the import statement on line to "import * as bcrypt from 'bcrypt-nodejs';
  5. Open bash run "npm run dev"

Expected behavior
1:22:39 PM - Starting compilation in watch mode... 1:22:45 PM - Found 0 errors. Watching for file changes. > [email protected] serve C:\Users\ekpo eddy\Documents\Nodejs\fashlogue-api > SET NODE_ENV=development && node dist/server.js (node:17148) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, u se openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/4.x/docs/connections.htm l#use-mongo-client connected to development database

PS:Remember to check for a ".env file"

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.