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

Using ink-table with pastel #75

Open
diego-carvallo opened this issue Oct 29, 2024 · 0 comments
Open

Using ink-table with pastel #75

diego-carvallo opened this issue Oct 29, 2024 · 0 comments

Comments

@diego-carvallo
Copy link

Hi I created a new project using npx create-pastel-app and I followed the sample here to use ink-table, so I have:

import Table from 'ink-table';

const data = [
  {
    name: 'Sosa Saunders',
    gender: 'male',
    age: 17,
  },
  {
    name: 'Angelina Kirk',
    gender: 'female',
    age: 33,
  }
]

export const alias = 'n';

export default function normalize() {
	return <Table data={data} />;
}

but I get this error when running npm build:

image

Please help!
cc @AeonFr

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