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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello world example #149

Merged
merged 3 commits into from Dec 17, 2018

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Dec 16, 2018

@fbudin69500 @jcfr @HastingsGreer @floryst please take a look 馃摉

@thewtex
Copy link
Member Author

thewtex commented Dec 17, 2018

Merging so doc's will be published here:

http://insightsoftwareconsortium.github.io/itk-js/

Feedback welcome! 馃帳 馃攬

@thewtex thewtex merged commit 6f9926b into InsightSoftwareConsortium:master Dec 17, 2018
@thewtex thewtex deleted the hello-world-example branch December 17, 2018 01:54
@HastingsGreer
Copy link
Contributor

The command
npx itk-js build .
fails silently for me. Is there a verbose flag?

@thewtex
Copy link
Member Author

thewtex commented Dec 17, 2018

@HastingsGreer there is no output at all? What version of node / npm / npx do you have?

@HastingsGreer
Copy link
Contributor

HastingsGreer commented Dec 17, 2018

node v11.2.0
npm 6.4.1
npx 6.4.1
Docker version 17.03.2-ce, build f5ec1e2

@HastingsGreer
Copy link
Contributor

HastingsGreer commented Dec 18, 2018

To attempt to follow this tutorial,
I ran these commands on an empty AWS server:

sudo apt-get install update
sudo apt-get install nodejs npm
sudo npm install -g npx
sudo apt-get install docker.io
sudo docker run hello-world
mkdir Node.jsHelloWorld
cd Node.jsHelloWorld/
npm init --yes
npm install --save itk fs-extra

vim hello.cxx
vim CMakeLists.txt

npx itk-js build .

There is no output, the command npx itk-js build . creates the folder web-build, and creates a single empty file in that folder named itk-js-build-env . My guess is that there's just a step that I'm missing

@thewtex
Copy link
Member Author

thewtex commented Dec 18, 2018

@HastingsGreer super -- thanks for testing and the information! We probably have an issue with the Docker installation's ability to mount local volumes... I will follow-up IRL to discuss details and see if we can detect the conditions.

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

Successfully merging this pull request may close these issues.

None yet

2 participants