#Upgrading to 6.8 leads to error in build process

1 messages · Page 1 of 1 (latest)

marsh halo
#

I just upgraded another app to 6.8. The first app worked flawlessly. On the second one I'm stuck with a build error:

unknown file: Cannot read properties of undefined (reading 'replace')

It fails in ember

  • build
    • --watch
    • --environment
    • development
    • -o
    • tmp/compat-prebuild
    • --suppress-sizes

Stacktracde is attached. What am I doing wrong?

#

I already added some small debug to initState which shows that the filename is empty

sinful hemlock
#

what are your embroider depnedencies?

marsh halo
#

"@embroider/compat": "^4.1.11",
"@embroider/config-meta-loader": "^1.0.0",
"@embroider/core": "^4.4.1",
"@embroider/legacy-inspector-support": "^0.1.3",
"@embroider/macros": "^1.19.5",
"@embroider/router": "^3.0.6",
"@embroider/vite": "^1.4.4",

#

Do you need anything else?

sinful hemlock
#

can you try a git clean -Xfd; git clean -fd , re-install, and try again? something is sus

#

woudl have to debug with breakpoints your stack

marsh halo
#

sure

#

I also already tried upgrading to 6.9. but it did throw the same error

sinful hemlock
#

why npm start?

#

instead of pnpm start?

#

which ember-cli do you have?

marsh halo
#

because it was in the history 🙂

#

ember-cli: 6.8.1
node: 22.21.1
os: darwin arm64

sinful hemlock
#

should be fine

#

🤔

#

I have no ideas without debugging

#

@smoky current have you seen this?