Comments (6)
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.
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.
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.
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.
Hi, have you managed to get your project working? Any progress?
from generator-phaser-plus.
Sorry been busy with something complete different. Answers to your questions:
$ npm ls --depth 0
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
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)
- Class inheritance from plugins HOT 1
- Game.js does not rebuild on save HOT 7
- Dropping support for Node.js 0.12 in upcoming releases HOT 1
- Including 3rd party Phaser Plugins HOT 3
- Defining a tilemap causes Phaser.Tilemap is not a constructor error HOT 2
- Any example working game using this template system? HOT 3
- Adding more distribution packaging options for build HOT 4
- Potential Improvement - auto add JSON files when generating project HOT 8
- Installing plugin: kinnetic-scrolling HOT 2
- Generator hangs on README exists HOT 4
- Development guide link is broken HOT 2
- npm install is failing for me on Windows 10 HOT 4
- Problem with lib/post_install.js and gulp? HOT 3
- [Bug] Uncaught TypeError: Cannot read property 'sys' of null HOT 2
- Some inconsistence in the small tutorial. HOT 3
- [Suggestions] responsive screen resolution HOT 2
- Add PWA support to generated project HOT 1
- Handling assets preloading HOT 1
- Npm run dist not working ! Cause of terser
- Facebook Instant Games issue - can't add plugin HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-phaser-plus.