GithubHelp home page GithubHelp logo

Comments (4)

4z3 avatar 4z3 commented on September 2, 2024

It seems like you haven't initialized the submodules; try

(cd /cygdrive/c/themproject/espresso && git submodule update --init)

from espresso.

maxnis avatar maxnis commented on September 2, 2024

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.

maxnis avatar maxnis commented on September 2, 2024

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.

4z3 avatar 4z3 commented on September 2, 2024

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)

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.