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

fresh build of example does not work #43

Open
kumavis opened this issue Nov 21, 2022 · 1 comment
Open

fresh build of example does not work #43

kumavis opened this issue Nov 21, 2022 · 1 comment

Comments

@kumavis
Copy link

kumavis commented Nov 21, 2022

npm install
npm start

localhost:8080

ecsy.module.js:1437 Uncaught Error: createType expect type definition to implements the following functions: create, reset, clear
    at createType (ecsy.module.js:1437:1)
    at defineClonableType (index.js:25:20)
    at ./node_modules/ecsy-three/src/types/index.js (index.js:40:8)
    at __webpack_require__ (bootstrap:79:1)
    at ./node_modules/ecsy-three/src/index.js (index.js:1:1)
    at __webpack_require__ (bootstrap:79:1)
    at ./src/ecsy/input.js (input.js:1:1)
    at __webpack_require__ (bootstrap:79:1)
    at ./src/ecsy/mouse.js (mouse.js:1:1)
    at __webpack_require__ (bootstrap:79:1)
createType @ ecsy.module.js:1437
defineClonableType @ index.js:25
./node_modules/ecsy-three/src/types/index.js @ index.js:40
__webpack_require__ @ bootstrap:79
./node_modules/ecsy-three/src/index.js @ index.js:1
__webpack_require__ @ bootstrap:79
./src/ecsy/input.js @ input.js:1
__webpack_require__ @ bootstrap:79
./src/ecsy/mouse.js @ mouse.js:1
__webpack_require__ @ bootstrap:79
./src/ecsy/index.js @ index.js:1
__webpack_require__ @ bootstrap:79
./src/index.js @ index.js:1
__webpack_require__ @ bootstrap:79
(anonymous) @ bootstrap:152
__webpack_require__ @ bootstrap:79
checkDeferredModules @ bootstrap:45
(anonymous) @ bootstrap:152
(anonymous) @ bootstrap:152
ecsy.module.js:1437 Uncaught Error: createType expect type definition to implements the following functions: create, reset, clear
    at createType (ecsy.module.js:1437:1)
    at defineClonableType (index.js:25:20)
    at ./node_modules/ecsy-three/src/types/index.js (index.js:40:8)
    at __webpack_require__ (bootstrap:79:1)
    at ./node_modules/ecsy-three/src/index.js (index.js:1:1)
    at __webpack_require__ (bootstrap:79:1)
    at ./examples/src/index.js (index.js:1:1)
    at __webpack_require__ (bootstrap:79:1)
    at 1 (app.js:940:18)
    at __webpack_require__ (bootstrap:79:1)
@kumavis kumavis changed the title fresh build does not work fresh build of example does not work Nov 21, 2022
@kumavis
Copy link
Author

kumavis commented Nov 21, 2022

also generates a large diff in example/package-lock.json

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

1 participant