cerebral / classy-ui

An automatically optimized design system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NextJS Build Error

yovanoc opened this issue · comments

Hello, I follow the instructions for next in the docs but here's what I got:

$ next build
Creating an optimized production build...
> Using external babel configuration
> Location: "/Users/devchris/Documents/code/nodejs/project/packages/next/.babelrc"

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run build stderr:
warning package.json: No license field
Failed to compile.

./components/Test.tsx
Module not found: Can't resolve 'classy-ui/styles.css' in '/Users/devchris/Documents/code/nodejs/project/packages/next/components'

> Build error occurred
Error: > Build failed because of webpack errors
    at build (/Users/devchris/Documents/code/nodejs/project/node_modules/next/dist/build/index.js:10:900)
error Command failed with exit code 1.

Hi @yovanoc and thanks so much for testing!

I am taking a look at this now

Oups sorry this is what we got now with next: #18