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

buildui doesn't work #707

Open
error0x001 opened this issue Jul 1, 2022 · 0 comments
Open

buildui doesn't work #707

error0x001 opened this issue Jul 1, 2022 · 0 comments

Comments

@error0x001
Copy link

error0x001 commented Jul 1, 2022

Describe the bug
buildui doesn't work, I get an error with import 'theme'

To Reproduce

  1. Pull https://github.com/prest/prestd-buildui
  2. Uncomment docker compose with build admin UI https://github.com/prest/prestd-buildui/blob/main/docker-compose.yml
  3. docker-compose up -d
  4. Go to localhost:3001
  5. Catch the error

Expected behavior
The web part of this project works

Desktop (please complete the following information):

  • pREST Admin (or commit ref): beta from docker-compose
  • pREST Admin route: beta from docker-compose
  • pREST Server version: beta from docker-compose
  • Node version: 14 from dockerfile
  • Log gist:
wait  - compiling /_error (client and server)...
2022-07-01T09:50:22.150917948Z wait  - compiling...
2022-07-01T09:50:22.270197169Z error - ./src/pages/_app.tsx:6:0
2022-07-01T09:50:22.270242863Z Module not found: Can't resolve '~/theme'
2022-07-01T09:50:22.270260387Z   4 | import Head from "next/head";
2022-07-01T09:50:22.270270824Z   5 | import React from "react";
2022-07-01T09:50:22.270275845Z > 6 | import theme from "~/theme";
2022-07-01T09:50:22.270280327Z   7 | 
2022-07-01T09:50:22.270283868Z   8 | const App: AppType = (props) => {
2022-07-01T09:50:22.270288475Z   9 |   const { Component, pageProps } = props;
2022-07-01T09:50:22.270292942Z 
2022-07-01T09:50:22.270296847Z https://nextjs.org/docs/messages/module-not-found

Additional context
Add any other context about the problem here.

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

No branches or pull requests

2 participants