Code Monkey home page Code Monkey logo

Comments (9)

evshiron avatar evshiron commented on July 17, 2024

Please make sure the installation is successful. BTW the proper way to require is require('nwjs-builder').
Feel free to ask if you have further questions.

from nwjs-builder.

MaestroJurko avatar MaestroJurko commented on July 17, 2024

Installation was successful, but I see in Travis, that master was successfully tested 10min ago. Will install it again.

git://github.com/evshiron/nwjs-builder.git#b581d56af98265841ce248530ec28e61d8f5fc8c

I am still getting the same issue.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

That build failed because mocha was broken when it bumped its version to 2.5.0, and it's fixed now in 2.5.1.

from nwjs-builder.

MaestroJurko avatar MaestroJurko commented on July 17, 2024

Ok, then I don't know what could cause this issue. I see nwjs-builder in node_modules, but cannot access is through require.

Is this still correct way to install it:
npm install evshiron/nwjs-builder -g

The node_modules folders looks like this:
screen shot 2016-05-23 at 12 40 28

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

No. Please read https://nodejs.org/en/blog/npm/npm-1-0-global-vs-local-installation/.
In general, a global installation means the module provides an executable. If you want to use it in your project, use local installation instead.

from nwjs-builder.

MaestroJurko avatar MaestroJurko commented on July 17, 2024

I installed it also locally.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

Try removing ./node_modules/node-flow/, ./node_modules/nwjs-download/ and ./node_modules/nwjs-builder/ and npm install nwjs-builder again.
If the requiring still fails, please provide some console output along with the reply, which will help me discover where the problem is.

from nwjs-builder.

evshiron avatar evshiron commented on July 17, 2024

Oh wait. Install it by npm install nwjs-builder. Not npm install evshiron/nwjs-builder, which will fetch stuff from GitHub directly.
Sorry about that. It's time to update the README.

from nwjs-builder.

MaestroJurko avatar MaestroJurko commented on July 17, 2024

That was it, thx.

from nwjs-builder.

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.