Comments (8)
Thanks @Magvin , I ended up generating different versions of the main file and publishing the dist folder. This resolved all the errors, and now everything works smoothly 😁.
from ecctrl.
UPD: when i'm trying to do it via 'transpilePackages' in next.config.js in complains about three.js
from ecctrl.
I had the same issue, I resolved it by adding ecctrl to the transpilePackages in next.config.js.
Such as const nextConfig = { transpilePackages: ['three', 'ecctrl'], }
from ecctrl.
tried, three complains then.
what version of Next you are using?
from ecctrl.
There.
"ecctrl": "^1.0.25", "next": "13.4.19", "three": "^0.156.1", "react": "18.2.0", "react-dom": "18.2.0",
What is three complaining about ?
from ecctrl.
😱 I've encountered a similar issue when using the npm package with 'create-react-app.' However, when I run the package locally, everything works fine. I will take some time to figure this out and make the necessary adjustments. 😅
from ecctrl.
@ecaii ah ok we are still on 13.2.4, This is issue is within nextjstranspilePackage
they have fixed it on 13.4v.
I think easier @ErdongChen-Andrew is just to ship dist folder fully compiled as npm module
from ecctrl.
Legend thanks
from ecctrl.
Related Issues (20)
- How do I change player (ecctrl chid) starting position in my world and also make the camera start from there? HOT 4
- Idle animation not looping HOT 4
- Animation amount HOT 3
- Camera orbit point (lower it) - how to change the orbit point for a smaller character HOT 1
- Character's unstable issue, HOT 2
- Is there a way for the camera to follow the player's rotation (always be in his back) HOT 8
- The avatar rotates itself on the x axis on a computer with low resources HOT 2
- I cannot access to to the rigid body's rotation, when autoBalance is desactivated HOT 1
- EcctrlAnimation walking animation doesn't loop HOT 5
- How to set the rotation of character? HOT 7
- Character stuck in specific spot and unable to escape HOT 1
- Get the position of ecctrl on each Frame HOT 9
- Character is sliding automatically HOT 3
- Build error in nextjs project HOT 3
- Change direction HOT 3
- When camCollision is disabled, camInitDir is initially ineffective. HOT 4
- Create two instances of ecctrl for online
- How can I get character's real-time position, when I moving my character HOT 1
- enabledRotations not working in NextJs? HOT 4
- 版本:1.0.88:ecctrl 组件的mode设置无效,始终为FixedCamera 模式 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecctrl.