Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Error in Browser: TypeError: import gojs:runtime.scheduleTimeoutEvent must be an object #3

Open
gedw99 opened this issue Nov 23, 2023 · 3 comments

Comments

@gedw99
Copy link

gedw99 commented Nov 23, 2023

using release-main repo version...

git clone --filter=blob:none --no-checkout https://github.com/pojntfx/keygaen -b release-main
cd keygaen
make depend

npm I 
up to date, audited 20 packages in 593ms

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
find node_modules/@patternfly/patternfly/ -name "*.css" -type f -delete
rm -rf web/fonts
mkdir -p web
cp -r node_modules/@patternfly/patternfly/assets/fonts web


make run-pwa/keygaen-pwa

npx sass -I . web/main.scss web/main.css
GOARCH=wasm GOOS=js go build -o web/app.wasm ./cmd/keygaen-pwa
go run ./cmd/keygaen-pwa -serve
2023/11/23 12:13:58 Listening on 0.0.0.0:22255
2023/11/23 12:13:58 Stories can be found on /stories

Open browser at http://127.0.0.1:22255

TypeError: import gojs:runtime.scheduleTimeoutEvent must be an object
@gedw99 gedw99 changed the title Error in Browser Error in Browser: TypeError: import gojs:runtime.scheduleTimeoutEvent must be an object Nov 23, 2023
@gedw99
Copy link
Author

gedw99 commented Nov 23, 2023

same error using main repo version...

git clone --filter=blob:none --no-checkout https://github.com/pojntfx/keygaen -b main

must be me :)

@gedw99
Copy link
Author

gedw99 commented Nov 23, 2023

Ok I fixed it.

Needed Modules to be upgraded..

@gedw99
Copy link
Author

gedw99 commented Nov 23, 2023

#4 has the fix. hope this helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant