Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.0 Unable to make/build file on Windows #641

Closed
hendry91 opened this issue May 10, 2016 · 8 comments
Closed

v1.0.0 Unable to make/build file on Windows #641

hendry91 opened this issue May 10, 2016 · 8 comments
Labels

Comments

@hendry91
Copy link

hendry91 commented May 10, 2016

Hi,
my conversejs 1.0.0 getting error when build the file.
My step:

  1. make -f makefile.win
  2. test run on visual studio, get error, but I skip it, and it run without problem.
  3. make -f makefile.win build

But step 3 I get :

node_modules\.bin\grunt.cmd touch:npm
Warning: Task "touch:npm" not found. Use --force to continue.
Aborted due to warnings.

I try to build previous version 0.10.1, no problem with that.
Can help me? how to solve it?
Thanks.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@hendry91
Copy link
Author

hi, can someone help me?

@mckaygerhard
Copy link

use linux, step that verify a file are not present.. due seems the makefile are incomplete, must be a task target named touch

use a real os ...

@hendry91
Copy link
Author

Thanks @mckaygerhard .

@jcbrand
Copy link
Member

jcbrand commented May 12, 2016

@hendry91 Looks like you don't have touch, which is a native Linux/Unix utility. You can try to install the NPM version: npm install touch and see if that works for you. If it does, please let me know, and I'll update the code.

@hendry91
Copy link
Author

@jcbrand unfortunately it getting the same error.
I use VM ubuntu to make it ady..
Thanks.

@mckaygerhard
Copy link

again use a real os to really understang what happened

touch:npm

its a target in the makefile, and one of the errors was touch are not installed, then there's a target named npm

@jcbrand
Copy link
Member

jcbrand commented May 15, 2016

@mckaygerhard Telling people to use "a real os" is not helping, please stop.

@jcbrand jcbrand changed the title v1.0.0 Unable to make/build file v1.0.0 Unable to make/build file on Windows May 23, 2016
@jcbrand jcbrand added the bug label Dec 6, 2016
@coltonmccormack
Copy link

coltonmccormack commented Mar 3, 2017

A workaround for this is to install Bash on Ubuntu on Windows.
Via a command line, enter your new bash installation (it may ask you to make a user first, if so, do it):
bash
Then install nodejs from the node PPA and ruby.
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install nodejs ruby-full git

Checkout the project and build it:
git clone https://github.com/jcbrand/converse.js.git
cd converse.js
npm install
make dist

This particular sequence of events got the project compiling for me. Note that to get make serve to work, should you want to view the mockups, you will need to opt-in to the Windows Insider builds Fast Ring and run Windows Update first. This is because only the most recent Linux improvements in Windows implement the necessary networking interfaces to run the http server. These updates will be rolled into the "Creator's Update" in April 2017.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants