byTracking plugin causes webpack error
See original GitHub issueBug 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
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (12 by maintainers)
Top Results From Across the Web
'TypeError: arguments[i].apply is not a function' error when ...
Here's how to deal with one frequent error when working with Webpack. ... Most likely it is caused by invalid configuration of Webpack...
Read more >How I solved and debugged my Webpack issue through trial ...
When webpack bundles your source code, it can become difficult to track down errors and warnings to their original location.
Read more >How to Prevent Webpack Error after npm Install?
This error happened because extract-text-webpack-plugin is not of the same major version as webpack is (3.x.x vs 2.x.x). Do this:
Read more >Webpack throwing error when importing glimmer/tracking
broccoliBuilderErrorStack: Error: webpack returned errors to ... errors to ember-auto-import at Bundler -~- created here: -~- at new Plugin ...
Read more >HashedModuleIdsPlugin - webpack
HashedModuleIdsPlugin. This plugin will cause hashes to be based on the relative path of the module, generating a four character string as the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
get latest version if you have stale version.