#Couldn't load app

14 messages · Page 1 of 1 (latest)

untold phoenix
#

I'm getting this error when trying to build the app.
Using npm run build.

vinxi v0.5.3
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './config' is not defined by "exports" in /mypath/node_modules/@tanstack/react-start/package.json imported from /mypath/app.config.timestamp_1749937978770.js
at exportsNotFound (node:internal/modules/esm/resolve:303:10)
at packageExportsResolve (node:internal/modules/esm/resolve:650:9)
at packageResolve (node:internal/modules/esm/resolve:836:14)
at moduleResolve (node:internal/modules/esm/resolve:910:20)
at defaultResolve (node:internal/modules/esm/resolve:1130:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

ERROR Couldn't load app

tame mason
#

you seem to have installed the latest version which is not based on vinxi anymore

untold phoenix
#

thx! Im trying right now and then I will come back here to relate.

tame mason
#

please be aware that clerk integration has not been updated to that newest version / and we still have some issue on our side

untold phoenix
#

ohh ive finished the migration steps and now I'm stuck exactly at this issue... for now, its better to keep using the oldest version? is there any guide on how to "rollback"?

#

my app uses Clerk

tame mason
#

rollback = git revert?

untold phoenix
#

I've updated some packages before initializing git.. now I don't know which one was and the oldest version of git is already not working.

tame mason
#

and after revert, pin the versions using this

pnpx create-start-app@latest pin-versions
#

oh

#

1.120.x is before that migration

untold phoenix
#

thx! this should work