Skip to content

browserify not found when running run_example.sh #19

@th-otto

Description

@th-otto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions