keystone: byTracking plugin causes webpack error
Bug report
Describe the bug
A webpack error is thrown when I create new list with byTracking
plugin. Without this plugin there is no error.
It seems like .ts type definition is in .js file, and there should not be, in line 102 of file:
@keystonejs/list-plugins/node_modules/@keystonejs/app-admin-ui/client/components/ListTable.js
To Reproduce
Steps to reproduce the behaviour. Please provide code snippets or a repository:
- Init users and auth sample project
- Add new list with byTracking plugin:
const { atTracking, byTracking } = require('@keystonejs/list-plugins');
const { Text } = require('@keystonejs/fields');
// ... keystone int etc.
keystone.createList('Lesson',{
fields: {
name: { type: Text },
},
plugins: [
atTracking(),
byTracking(),
],
});
// ... module exports
- Run app.
- See error after admin login.
Expected behaviour
No error.
Screenshots
System information
- OS: Pop_OS! (Ubuntu)
- Browser: Chrome
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (12 by maintainers)
Commits related to this issue
- Admin UI: fixed webpack error when using tracking plugins (fixes #2472) — committed to Vultraz/keystone-5 by Vultraz 4 years ago
get latest version if you have stale version.