Code Monkey home page Code Monkey logo

Comments (6)

jwerts avatar jwerts commented on July 21, 2024

i just re-cloned repo fresh, ran npm install and npm start without any issues. Can you tell me more about your setup? Have you made any modifications to the repo? How are you compiling?

from jsapi4-angular2.

klanglie avatar klanglie commented on July 21, 2024

No modifications. I'm actually having an issue running npm install too.
' Failed at the [email protected] preinstall script 'bower install'.'
I made sure bower was installed. I am using Windows 10. Typescript v2.0.3. Node v6.4.0.
Compiling from the command line and am using VS Code for IDE.

from jsapi4-angular2.

jwerts avatar jwerts commented on July 21, 2024

Make sure bower is installed globably: npm install -g bower

You should be able to do bower install from the command line if bower is installed correctly.

from jsapi4-angular2.

klanglie avatar klanglie commented on July 21, 2024

bower is installed and most packages are resolved, except:
bower dgrid#1.0.0-esri ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/Esri/dgrid.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.253.113]: errno=No such file or directory

from jsapi4-angular2.

jwerts avatar jwerts commented on July 21, 2024

bower install --force did not have any issues for me, so I'm not sure why that's not resolving.

The bower components are only necessary for the unit testing. If you want to get back to your original issue, remove preinstall from the scripts property in package.json (https://github.com/jwerts/jsapi4-angular2/blob/master/package.json#L6) and then try npm install again so that it finishes. I think your original issues is that its not installing the typings because bower fails before it can get there.

from jsapi4-angular2.

klanglie avatar klanglie commented on July 21, 2024

Yes! That did it. I wonder why preinstall is failing? I can now run your sample. Thanks so much.

bower dojo#v1.10.4/esri-3.14.0 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/Esri/dojo.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.253.112]: errno=No such file or directory

Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.253.112]: errno=No such file or directory

from jsapi4-angular2.

Related Issues (7)

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.