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

Installing modules on example projects #1

Open
frantic0 opened this issue Apr 16, 2018 · 1 comment
Open

Installing modules on example projects #1

frantic0 opened this issue Apr 16, 2018 · 1 comment

Comments

@frantic0
Copy link

frantic0 commented Apr 16, 2018

I've been trying to install the mano-js example and been having some problems. For instance, after npm install of boilerplate got a bundle error.

[sensors-monitor] src/client/index.js: successfully transpiled to "dist/client/index.js" (158ms) [sensors-monitor] src/client/mobile.js: successfully transpiled to "dist/client/mobile.js" (43ms) [sensors-monitor] src/server/index.js: successfully transpiled to "dist/server/index.js" (42ms) [sensors-monitor] public/bundle.js: bundle start [sensors-monitor] public/bundle.js: bundle error \> Cannot find module 'basic-controllers' from '/Users/francisco/Documents/Development/RAPID-MIX/mano-js/examples/boilerplate/dist/client' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN [email protected] No repository field.

Also found that the installation process seems to be veeeeery slow for all the examples

How can I overcome this?

@josephlarralde
Copy link
Collaborator

I just pushed a bunch of fixes.
The errors were mostly due to the examples relying on the root level's source code and would not work if copy-pasted anywhere else, or if npm install was not run first at the root level.
There were also some module names that needed to be updated.
At least boilerplate, mano-js-example and xmm-processor seem to be working fine on my machine now.

Can you confirm this fixes your problem ?

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