Skip to content

ReferenceError: last_id is not defined  #13

@ajmas

Description

@ajmas

I am running timexexe in the Browser as a Typescript based Vue project and I am getting the following failure:

e-router.mjs:3451 ReferenceError: last_id is not defined
    at node_modules/timexe/timexe.js (timexe.js:132:1)
    at __require (chunk-J43GMYXM.js?v=afb89844:11:50)
    at timexe.js:786:1
triggerError @ vue-router.mjs:3451
(anonymous) @ vue-router.mjs:3173
Promise.catch (async)
pushWithRedirect @ vue-router.mjs:3167
push @ vue-router.mjs:3099
install @ vue-router.mjs:3530
use @ runtime-core.esm-bundler.js:4390
main @ main.ts:21
await in main (async)
(anonymous) @ main.ts:25
----
vue-router.mjs:35 [Vue Router warn]: Unexpected error when starting the router: ReferenceError: last_id is not defined
    at node_modules/timexe/timexe.js (timexe.js:132:1)
    at __require (chunk-J43GMYXM.js?v=afb89844:11:50)
    at timexe.js:786:1

We are using vite for packaging and this seems to related to simply importing the project:

import timexe from 'timexe'

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions