Comments (4)
It seems like you haven't initialized the submodules; try
(cd /cygdrive/c/themproject/espresso && git submodule update --init)
from espresso.
I'm pretty sure I ran the update command the first time, nonetheless i ran it again, and get the same error. what am i doing wrong? how to start epresso? node espresso.js?
from espresso.
ok, i figured it out myself, not sure if it's versions mismatch, a node bug - must have step.js file or espresso must load it correctly:
the e.js line 64 tries to load node step.js file:
E.prototype.sequencer = require('step'); - which was not in the node lib folder
so i changed the path to the espresso step.js file
E.prototype.sequencer = require('../node_modules/step/lib/step');
and it started working.
Node version: 0.2.6
Espresso version: 0.7.2
The same problem is in files: /espresso/generator/file_generator.js and project_generator.js
There is the same problem with all node modules: mu, step, wwwdude. So i couldn't run the server, project was half generated,
but after copying the entire framework folder from a sample project - build ran successfully and generated build folder, which works, been deployed to the web server (IIS in this case).
from espresso.
Thank you for the extensive bug-report; I just reconstructed the problem with the said Node version and it happens to affect all the Espresso versions.
Unfortunately it also seems that there where no plans to support Node 0.2 in the first place and I'm not sure if there are any plans to support it any time soon, if at all.
If you cannot upgrade to Node 0.4 or higher, you could try to set the environmental variable NODE_PATH
to the appropriate colon-separated list of directories. On POSIX-like systems one could call Espresso directly with the augmented environment like this:
NODE_PATH="/path/to/your/Espresso/node_modules/step/lib" espresso version
from espresso.
Related Issues (20)
- Twitter Sample .apk with espresso package HOT 2
- Error installation failed HOT 4
- folder incubator-cordova-android does not exist in the repo HOT 1
- Failure during creating a new project HOT 1
- implement favicon HOT 1
- Closure Compiler on Node v0.10.8 w Espresso 1.4.1
- Goodbye World
- POST umlauts --> wrong content length HOT 1
- Google Play needs the variable "minSdkVersion" in the file "AndroidManifest.xml" HOT 5
- Installation of Espresso using git failed HOT 1
- ESPRESSO-DEBUG has no effect HOT 2
- Add more configuration options for the AndroidManifest.xml HOT 1
- Extend the config.json documentation with the new generic way of manipulating the AndroidManifest.xml HOT 1
- plutil throws "Unknown format specifier: json" HOT 6
- "package run" for android development phones HOT 1
- unit test command (Feature Request) HOT 1
- Export config.json definition to application/framework context HOT 1
- deploy local on windows
- parameterized generate options
- "libraries" property in targets.json
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 espresso.