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

Can't generate data #38

Open
quaxquax opened this issue Apr 27, 2017 · 4 comments
Open

Can't generate data #38

quaxquax opened this issue Apr 27, 2017 · 4 comments

Comments

@quaxquax
Copy link

Unfortunately, I get an error when trying to generate the test data. I updated node.js and pointed to python2.7 but no dice. This is on OSX.

bash-3.2# npm run data

> [email protected] data /Users/quax/projects/weblas
> node test/data/generate.js

Traceback (most recent call last):
  File "generate.py", line 84, in <module>
    for i in range(len(names)):
@quaxquax
Copy link
Author

This seems to be specific to my OSX environment. On linux (Ubuntu) I was prompted to install the nodejs-legacy package for node, afterwards the "npm run data" step performed without a hitch.

@quaxquax
Copy link
Author

Unfortunately in Linux I also get stuck at the next step. Although the module "glslify" is installed I get the following error trace:

golem@quax-E6410:~/projects/weblas$ npm test
> [email protected] test /home/golem/projects/weblas
> browserify test/*.js | testling -x $npm_config_browser

Error: Cannot find module 'glslify' from '/home/golem/projects/weblas'
    at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:48:31
    at processDirs (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:182:39)
    at ondir (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:197:13)
    at load (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:80:43)
    at onex (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:105:17)
    at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:26:73
    at FSReqWrap.oncomplete (fs.js:82:15)

@quaxquax
Copy link
Author

Solve the issue in linux. Had modules such as glslify installed globally.

@waylonflinn
Copy link
Owner

waylonflinn commented Apr 27, 2017

Thanks for the feedback. This part of the project (test data generation) is definitely still a bit rough around the edges. I'm glad you were finally able to get it working.

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

No branches or pull requests

2 participants