Created
April 23, 2024 09:17
-
-
Save peterp/b15c2ed01395cb685fd98873aec5b4ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ x yarn rw build -v | |
[STARTED] Generating Prisma Client... | |
Prisma schema loaded from db/schema.prisma | |
✔ Generated Prisma Client (v5.9.1) to ./../node_modules/@prisma/client in 31ms | |
Start using Prisma Client in Node.js (See: https://pris.ly/d/client) | |
``` | |
import { PrismaClient } from '@prisma/client' | |
const prisma = new PrismaClient() | |
``` | |
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) | |
``` | |
import { PrismaClient } from '@prisma/client/edge' | |
const prisma = new PrismaClient() | |
``` | |
See other ways of importing Prisma Client: http://pris.ly/d/importing-client | |
┌─────────────────────────────────────────────────────────────┐ | |
│ Deploying your app to serverless or edge functions? │ | |
│ Try Prisma Accelerate for connection pooling and caching. │ | |
│ https://pris.ly/cli/accelerate │ | |
└─────────────────────────────────────────────────────────────┘ | |
[COMPLETED] Generating Prisma Client... | |
[STARTED] Verifying graphql schema... | |
[COMPLETED] Verifying graphql schema... | |
[STARTED] Building API... | |
[COMPLETED] Building API... | |
[STARTED] Building Web... | |
vite v4.5.2 building SSR bundle for production... | |
".prisma/client/default" is imported by ".prisma/client/default?commonjs-external", but could not be resolved – treating it as an external dependency. | |
✓ 1575 modules transformed. | |
✓ built in 3.46s | |
clientEntryFileSet [ | |
'/private/tmp/x/web/src/components/UserExample/UserExamplesCell/UserExamplesCell.tsx', | |
'/private/tmp/x/web/src/components/Counter/AboutCounter.tsx', | |
'/private/tmp/x/node_modules/@tobbe.dev/rsc-test/dist/rsc-test.es.js', | |
'/private/tmp/x/web/src/components/EmptyUser/EmptyUsersCell/EmptyUsersCell.tsx', | |
'/private/tmp/x/web/src/components/EmptyUser/NewEmptyUser/NewEmptyUser.tsx', | |
'/private/tmp/x/web/src/components/RandomNumberServerCell/UpdateRandomButton.tsx', | |
'/private/tmp/x/web/src/components/Counter/Counter.tsx', | |
'/private/tmp/x/web/src/components/UserExample/NewUserExample/NewUserExample.tsx', | |
'/private/tmp/x/web/src/components/UserExample/UserExamples/UserExamples.tsx', | |
'/private/tmp/x/web/src/components/UserExample/UserExample/UserExample.tsx', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/navLink.js', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/link.js', | |
'/private/tmp/x/node_modules/react-hot-toast/dist/index.js', | |
'/private/tmp/x/node_modules/@redwoodjs/web/dist/components/cell/CellErrorBoundary.js' | |
] | |
serverEntryFileSet [ | |
'/private/tmp/x/web/src/components/RandomNumberServerCell/actions.ts', | |
'/private/tmp/x/web/src/pages/HomePage/actions.ts' | |
] | |
clientEntryFiles { | |
rsc0: '/private/tmp/x/web/src/components/UserExample/UserExamplesCell/UserExamplesCell.tsx', | |
rsc1: '/private/tmp/x/web/src/components/Counter/AboutCounter.tsx', | |
rsc2: '/private/tmp/x/node_modules/@tobbe.dev/rsc-test/dist/rsc-test.es.js', | |
rsc3: '/private/tmp/x/web/src/components/EmptyUser/EmptyUsersCell/EmptyUsersCell.tsx', | |
rsc4: '/private/tmp/x/web/src/components/EmptyUser/NewEmptyUser/NewEmptyUser.tsx', | |
rsc5: '/private/tmp/x/web/src/components/RandomNumberServerCell/UpdateRandomButton.tsx', | |
rsc6: '/private/tmp/x/web/src/components/Counter/Counter.tsx', | |
rsc7: '/private/tmp/x/web/src/components/UserExample/NewUserExample/NewUserExample.tsx', | |
rsc8: '/private/tmp/x/web/src/components/UserExample/UserExamples/UserExamples.tsx', | |
rsc9: '/private/tmp/x/web/src/components/UserExample/UserExample/UserExample.tsx', | |
rsc10: '/private/tmp/x/node_modules/@redwoodjs/router/dist/navLink.js', | |
rsc11: '/private/tmp/x/node_modules/@redwoodjs/router/dist/link.js', | |
rsc12: '/private/tmp/x/node_modules/react-hot-toast/dist/index.js', | |
rsc13: '/private/tmp/x/node_modules/@redwoodjs/web/dist/components/cell/CellErrorBoundary.js' | |
} | |
serverEntryFiles { | |
rsf0: '/private/tmp/x/web/src/components/RandomNumberServerCell/actions.ts', | |
rsf1: '/private/tmp/x/web/src/pages/HomePage/actions.ts' | |
} | |
vite v4.5.2 building for production... | |
✓ 1 modules transformed. | |
✓ built in 43ms | |
Could not resolve entry module "src/index.html". | |
file:///private/tmp/x/node_modules/rollup/dist/es/shared/node-entry.js:2287 | |
base = Object.assign(new Error(base.message), base); | |
^ | |
Error [RollupError]: Could not resolve entry module "src/index.html". | |
at error (file:///private/tmp/x/node_modules/rollup/dist/es/shared/node-entry.js:2287:30) | |
at ModuleLoader.loadEntryModule (file:///private/tmp/x/node_modules/rollup/dist/es/shared/node-entry.js:24881:20) | |
at async Promise.all (index 0) { | |
code: 'UNRESOLVED_ENTRY', | |
watchFiles: [ | |
'/private/tmp/x/node_modules/@tobbe.dev/rsc-test/dist/rsc-test.es.js', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/navLink.js', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/link.js', | |
'/private/tmp/x/node_modules/react-hot-toast/dist/index.js', | |
'/private/tmp/x/node_modules/@redwoodjs/web/dist/components/cell/CellErrorBoundary.js', | |
'/private/tmp/x/web/src/components/UserExample/UserExamplesCell/UserExamplesCell.tsx', | |
'/private/tmp/x/web/src/components/Counter/AboutCounter.tsx', | |
'/private/tmp/x/web/src/components/EmptyUser/EmptyUsersCell/EmptyUsersCell.tsx', | |
'/private/tmp/x/web/src/components/EmptyUser/NewEmptyUser/NewEmptyUser.tsx', | |
'/private/tmp/x/web/src/components/RandomNumberServerCell/UpdateRandomButton.tsx', | |
'/private/tmp/x/web/src/components/Counter/Counter.tsx', | |
'/private/tmp/x/web/src/components/UserExample/NewUserExample/NewUserExample.tsx', | |
'/private/tmp/x/web/src/components/UserExample/UserExamples/UserExamples.tsx', | |
'/private/tmp/x/web/src/components/UserExample/UserExample/UserExample.tsx', | |
'/private/tmp/x/node_modules/react/jsx-runtime.js', | |
'/private/tmp/x/node_modules/react/index.js', | |
'/private/tmp/x/node_modules/@babel/runtime-corejs3/core-js/object/define-property.js', | |
'/private/tmp/x/node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js', | |
'/private/tmp/x/node_modules/@babel/runtime-corejs3/core-js/instance/filter.js', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/useMatch.js', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/util.js', | |
'/private/tmp/x/node_modules/@redwoodjs/router/dist/history.js', | |
'/private/tmp/x/node_modules/goober/dist/goober.cjs' | |
] | |
} | |
Node.js v20.12.2 | |
[FAILED] Command failed with exit code 1: node /private/tmp/x/node_modules/@redwoodjs/vite/bins/rw-vite-build.mjs --webDir="/private/tmp/x/web" --verbose=true | |
-------------------------------------------------------------------------------------------------------------------- | |
Error: Command failed with exit code 1: node /private/tmp/x/node_modules/@redwoodjs/vite/bins/rw-vite-build.mjs --webDir="/private/tmp/x/web" --verbose=true | |
at makeError (/private/tmp/x/node_modules/execa/lib/error.js:60:11) | |
at handlePromise (/private/tmp/x/node_modules/execa/index.js:118:26) | |
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) | |
at async _Task.task [as taskFn] (/private/tmp/x/node_modules/@redwoodjs/cli/dist/commands/buildHandler.js:131:9) | |
at async _Task.run (/private/tmp/x/node_modules/listr2/dist/index.cjs:2049:11) | |
-------------------------------------------------------------------------------------------------------------------- | |
Need help? | |
- Not sure about something or need advice? Reach out on our Forum | |
- Think you've found a bug? Open an issue on our GitHub | |
- Here's your unique error reference to quote: '777b47e8-c4c7-4caa-948d-e10728198129' | |
-------------------------------------------------------------------------------------------------------------------- | |
➜ x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment