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.

Error with vue webpack cli || Cannot use physics

See original GitHub issue
import VueBabylonJS from 'vue-babylonjs'
Vue.use(VueBabylonJS)

screen shot 2018-05-23 at 11 58 53 am

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
BrainBaconcommented, May 23, 2018

@stephanedemotte This changed in the latest version of BabylonJS. I have been working on a solution, but in the meantime you should be able to install Omio and Cannon via npm. You can see some details from the BabylonJS documentation here: http://doc.babylonjs.com/features/npm_support

I’ll work on getting the new version out shortly. Thanks for trying out the library!

0reactions
BrainBaconcommented, May 25, 2018

Oh, so it was not working because of your webpack config? You are able to get physics working in your instance? That’s great, I’m still having problems trying to include them in the UMD package, but am making progress.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack issues #374 - kripken/ammo.js - GitHub
Both with vue-cli (webpack) and vitejs (rollup) I'm having issues getting it to work properly either at build or runtime.
Read more >
vue and webpack problem when trying to run npm i
i have this problem when i am trying to run npm install, the project was built with vuejs npm ERR! code ERESOLVE npm...
Read more >
Vue JavaScript Tutorial in Visual Studio Code
Vue JavaScript tutorial showing IntelliSense, debugging, and code navigation support in the Visual Studio Code editor.
Read more >
CLI Service - Vue CLI
The vue-cli-service serve command starts a dev server (based on webpack-dev-server) that comes with Hot-Module-Replacement (HMR) working out of ...
Read more >
Migrate from v4 - Vue CLI
Webpack 5 does no longer include polyfills for Node.js modules by default. You shall see an informative error message if your code relies...
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