Giter Club home page Giter Club logo

Comments (6)

rblopes avatar rblopes commented on May 22, 2024

Does that happen all the time? If you run slush phaser-plus again, does that give you the same error?
If you run npm install manually in the created project, does that complete normally?

from generator-phaser-plus.

budda avatar budda commented on May 22, 2024

I did an npm install inside the previously created directory and it finished with no output to the terminal at all. Is that expected @rblopes ?

from generator-phaser-plus.

budda avatar budda commented on May 22, 2024

I created a new directory and re-ran slush phaser-plus and it failed exactly the same again.

The npm log tail contained:

$ tail /Users/mike/Code/blox2/npm-debug.log
81760 error errno ECONNRESET
81761 error syscall read
81762 error network read ECONNRESET
81762 error network This is most likely not a problem with npm itself
81762 error network and is related to network connectivity.
81762 error network In most cases you are behind a proxy or have bad network settings.
81762 error network
81762 error network If you are behind a proxy, please make sure that the
81762 error network 'proxy' config is set properly.  See: 'npm help config'
81763 verbose exit [ 1, true ]

Scrolling back through the output during project creation I did see the npm error just after the Preload.js file is created the output continues with...

> [email protected] install /Users/mike/Code/blox2/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

  CXX(target) Release/obj.target/validation/src/validation.o
-
  SOLINK_MODULE(target) Release/validation.node
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm  v2.14.1
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
npm ERR! network read ECONNRESET
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

> [email protected] install /Users/mike/Code/blox2/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

Any help ?

from generator-phaser-plus.

rblopes avatar rblopes commented on May 22, 2024

It's confusing, right?

If npm install does not report anything may be because all downloaded stuff are already there. Check if node_modules have the required libraries installed (or use npm ls --depth 0 for a concise listing) and try running npm start on that first project. If all goes well, the project is ready for editing. It would be cool if npm reported that everything is OK and up to date.

These “Callback called more than once” messages may happen due to some obscure race conditions within npm and are npm issues, mostly. Remember that running npm install should report what packages it downloaded and installed in your project — if much, complaining about some incompatible (and optional) packages too. You may have missed them when you got those errors, but don't worry, that's fine.

As for the ECONNRESET stuff, may be due connection instabilities from npm and, despite frustrating, are nothing to worry much too. But, since these break the installation process, you do need to npm install again to concluse the installation process. Of course, if you got a working project in the first attempt, you won't need that.

from generator-phaser-plus.

rblopes avatar rblopes commented on May 22, 2024

Hi, have you managed to get your project working? Any progress?

from generator-phaser-plus.

budda avatar budda commented on May 22, 2024

Sorry been busy with something complete different. Answers to your questions:

Running npm start worked nicely.

Regarding the ECONNRESET messages, I created a fresh directory and kicked off a new slush phaser-plus followed by an npm start and it worked flawlessly tonight!

Case closed? It's NPM being a bag of arse at times... :)

from generator-phaser-plus.

Related Issues (20)

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.