Giter VIP home page Giter VIP logo

jimschubert / yfa-nodejs-code Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 3.0 1.78 MB

Code to accompany the book Your first app: node.js. See https://yourfirstapp.us/

Home Page: https://gum.co/Ifhbf

License: MIT License

JavaScript 87.96% CSS 0.54% Ruby 0.07% HTML 11.43%
javascript nodejs angularjs mongodb software-engineering software-design beginner beginner-project beginners-tutorial-series beginner-class

yfa-nodejs-code's Introduction

yfa-nodejs-code

yfa-nodejs-code's People

Contributors

jimschubert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

yfa-nodejs-code's Issues

a couple of more commands to avoid dependency hell

First thank you for the good book! :)

I've reached the place in the book where we install karma and jshint globally and also install the skeleton yfa project's dependencies.

I've received dependency errors and started debugging.

The errors provided a very good information about what dependency needs a newer version than the one we provide in karma@...

Using my experience with the PHP's composer I realised that karma's package at this specific version is looking for the latest version of one of its dependencies.

I also knew that if I install this dependency before karma, it will be used instead of the latest one.
The same thing happened with the local yfa packages.

I just picked older versions of the dependencies without researching them thoroughly by only checking with npm show 'package' versions

These are the commands I used. Maybe there is a better way but I leave them here as a reference to other people like me if they happen to have the same problem:

npm install -g [email protected]
npm install -g [email protected] [email protected]
npm install [email protected]
npm install -d

I'm planning later to modify a little package.json to have this automatically for the local packages.

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.