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

browserify not found when running run_example.sh #19

Open
th-otto opened this issue Nov 24, 2019 · 0 comments
Open

browserify not found when running run_example.sh #19

th-otto opened this issue Nov 24, 2019 · 0 comments

Comments

@th-otto
Copy link

th-otto commented Nov 24, 2019

Hi,

first off, i'm not a great expert in JavaSscript. I just recently tried to install & run pce.js.

I works great when using the checked in version of bundle.js. However when i try to rebuild using run_example.sh, i get the error:

./run_example.sh: line 43: <pce.js>/node_modules/.bin//browserify: No such file or directory

Looks like that script is expecting the browserify tool in a path that does not exist.

But there are still problems when i try to fix that, and use the one from emscripten SDK.

  • installing the xtend prerequisite installed it into the node_modules directory of the EMSDK. But that directory is not part of NODE_PATH, so running browserify failed.
  • when if add the directory to NODE_PATH, it works, but the generated bundle.js seems to be broken. It is also much smaller than the original one, so i think it is missing a lot of required things. Any idea what is going wrong?

I use EMSDK 1.39.1 (latest-upstream) and npm 12.9.1 (the one that comes with that SDK). And i'm trying to build the atarist version.

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

1 participant