Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running npx srcbook@latest start #464

Open
KitteeRusty opened this issue Dec 16, 2024 · 0 comments
Open

Error when running npx srcbook@latest start #464

KitteeRusty opened this issue Dec 16, 2024 · 0 comments

Comments

@KitteeRusty
Copy link

node:internal/modules/esm/resolve:204
const resolvedOption = FSLegacyMainResolve(pkgPath, packageConfig.main, baseStringified);
^

Error: Cannot find package '/Users/sampan/.npm/_npx/f3cf20110f0917c8/node_modules/@ai-sdk/ui-utils/index.js' imported from /Users/sampan/.npm/_npx/f3cf20110f0917c8/node_modules/ai/dist/index.mjs
at legacyMainResolve (node:internal/modules/esm/resolve:204:26)
at packageResolve (node:internal/modules/esm/resolve:778:12)
at moduleResolve (node:internal/modules/esm/resolve:854:18)
at defaultResolve (node:internal/modules/esm/resolve:984:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:654:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:603:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:586:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:242:38)
at ModuleJob._link (node:internal/modules/esm/module_job:135:49) {
code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v23.4.0
(base) sampan@XinghanPandeMacBook-Air Github % npx srcbook@latest start

node:internal/modules/esm/resolve:204
const resolvedOption = FSLegacyMainResolve(pkgPath, packageConfig.main, baseStringified);
^

Error: Cannot find package '/Users/sampan/.npm/_npx/f3cf20110f0917c8/node_modules/@ai-sdk/ui-utils/index.js' imported from /Users/sampan/.npm/_npx/f3cf20110f0917c8/node_modules/ai/dist/index.mjs
at legacyMainResolve (node:internal/modules/esm/resolve:204:26)
at packageResolve (node:internal/modules/esm/resolve:778:12)
at moduleResolve (node:internal/modules/esm/resolve:854:18)
at defaultResolve (node:internal/modules/esm/resolve:984:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:654:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:603:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:586:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:242:38)
at ModuleJob._link (node:internal/modules/esm/module_job:135:49) {
code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v23.4.0

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

No branches or pull requests

1 participant