You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CodeceptJS 4.x - Logs and stack traces refer to nonexistent files #5362
In case of errors, the logs are confusing as it refers to nonexistent with extension temp.mjs.
I understand it may come from the transpilation, but unfortunately, it decreases the developer experience and the navigation in the IDE.
Sorry, but it still have exactly the same stack trace, referring to nonexistent files - the extension of the files is still .temp.mjs
CodeceptJS v4.0.2-beta.19 #StandWithUkraine
Using test root "/Users/n.lespiaucq/Documents/xxx/examples-ts"
Create Todos with BDD --
✖ Create a single todo item @bdd in 3070ms
-- FAILURES:
1) Create Todos with BDD
Create a single todo item @bdd:
expected expected number of visible elements (.todo-list li) is 0, but found 1 "1" to equal "0"
◯ File: file:///Users/n.lespiaucq/Documents/xxx/examples-ts/todomvc-tests/features/create-todos.feature
◯ Scenario Steps:
✖ I.seeNumberOfVisibleElements(".todo-list li", ) at Object.seeNumberOfTodos (file://./todomvc-tests/pages/todos.page.temp.mjs:80:11)
✔ I.wait(2) at Object.enterTodo (file://./todomvc-tests/pages/todos.page.temp.mjs:26:11)
✔ I.pressKey("Enter") at Object.enterTodo (file://./todomvc-tests/pages/todos.page.temp.mjs:25:11)
✔ I.fillField(".new-todo", "123456") at Object.enterTodo (file://./todomvc-tests/pages/todos.page.temp.mjs:24:11)
✔ I.waitForVisible(".new-todo") at Object.goto (file://./todomvc-tests/pages/todos.page.temp.mjs:21:11)
✔ I.executeScript(() => console.error("Boom!")) at Object.goto (file://./todomvc-tests/pages/todos.page.temp.mjs:20:11)
✔ I.executeScript(() => sessionStorage.clear()) at Object.goto (file://./todomvc-tests/pages/todos.page.temp.mjs:19:11)
✔ I.refreshPage() at Object.goto (file://./todomvc-tests/pages/todos.page.temp.mjs:18:11)
✔ I.amOnPage("https://todomvc.com/examples/react/dist/") at Object.goto (file://./todomvc-tests/pages/todos.page.temp.mjs:17:11)
Activity
kobenguyent commentedon Jan 7, 2026
fixed by CodeceptJS v4.0.1-beta.33, please help check if that works for you @nlespiaucq . Thanks!
nlespiaucq commentedon Jan 16, 2026
Sorry, but it still have exactly the same stack trace, referring to nonexistent files - the extension of the files is still .temp.mjs
DenysKuchma commentedon Feb 11, 2026
You can check the implementation in the beta release