question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

helperslocalizer not included in the browserify build - ami.js

See original GitHub issue

The project structure is exactly the same. however the bowserify build does not include helpers.js ?

Helpers.js imports

/** * Imports ***/
import ShadersUniform from
  '../shaders/shaders.localizer.uniform';
import ShadersVertex from
  '../shaders/shaders.localizer.vertex';
import ShadersFragment from
  '../shaders/shaders.localizer.fragment';

ami build instructions

import Cameras from './cameras/cameras';
import Controls from './controls/controls';
import Core from './core/core';
import Geometries from './geometries/geometries';
import Helpers from './helpers/helpers';
import Loaders from './loaders/loaders';
import Models from './models/models';
import Parsers from './parsers/parsers';
import Shaders from './shaders/shaders';
import Widgets from './widgets/widgets';

const pckg = require('../package.json');

export default{
  Cameras,
  Controls,
  Core,
  Geometries,
  Helpers,
  Loaders,
  Models,
  Parsers,
  Shaders,
  Widgets,
};

window.console.log(`AMI ${pckg.version} ( ThreeJS ${pckg.config.threeVersion})`);" 

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
au84commented, May 26, 2017

hey - i had not included the Localizer in the Helpers.js file. Thanks for pointing that out. When i matched the code that line was missing - added that now and it is working - cheers

0reactions
au84commented, May 26, 2017

it is 0.0.16-dev

screen shot 2017-05-26 at 14 35 25
Read more comments on GitHub >

github_iconTop Results From Across the Web

how to build modular applications with browserify - GitHub
introduction. This document covers how to use browserify to build modular applications. cc-by-3.0. browserify is a tool for compiling node-flavored commonjs ...
Read more >
jquery appears in browserify bundle.js but not working in ...
Try changing var $ = require('jquery') to global.jQuery = require('jquery') . This will attach it to the global object, which is the window ......
Read more >
JSDoc: Home
ami.js. Check-out the lessons to get started quickly. New: Use the new factory not to have to include three in index.html. import *...
Read more >
Browserify
Browserify lets you require('modules') in the browser by bundling up all of your dependencies. Install Documentation · Source Code · Help + Articles...
Read more >
Browserify - npm
All of the modules that main.js needs are included in the bundle.js from a recursive walk of the require() graph using required. To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found