Skip to content

Steps for building the library and testing the examples #18

@BryanChrisBrown

Description

@BryanChrisBrown

Hi,

I'm trying to get setup building the library to see if we can leverage IWER as the backbone for Looking Glass' WebXR library. However, I'm having trouble getting the examples to run. When running npm run build in the examples folder I run into issues with missing libraries.

 using description file: E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\package.json (relative path: ./node_modules/@iwer/devui)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\node_modules\@iwer\devui doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\node_modules\@iwer\devui.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\node_modules\@iwer\devui.json doesn't exist
            .wasm
              Field 'browser' doesn't contain a valid alias configuration
              E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\node_modules\@iwer\devui.wasm doesn't exist
        E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\node_modules\@iwer\devui doesn't exist
      E:\02_LKG\05_WebXR\node_modules doesn't exist or is not a directory
      E:\02_LKG\node_modules doesn't exist or is not a directory
      E:\node_modules doesn't exist or is not a directory

Is there a specific order I need to run each build from? Attempting to build the /devui folder reports a missing .tar.gz version of the library.

npm warn cleanup ]
npm error code ENOENT
npm error syscall open
npm error path E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\iwer-2.0.1.tgz
npm error errno -4058
npm error enoent ENOENT: no such file or directory, open 'E:\02_LKG\05_WebXR\immersive-web-emulation-runtime\iwer-2.0.1.tgz'
npm error enoent This is related to npm not being able to find a file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions