This is a demo repo that could be used to start using Searchkit.
yarn
yarn dev
- Open http://localhost:3000
- Edit
pages/index.tsx
to start playing with Searchkit
React Elasticsearch example using Searchkit
Home Page: https://searchkit.co/demo
This is a demo repo that could be used to start using Searchkit.
yarn
yarn dev
pages/index.tsx
to start playing with SearchkitOk, so apparantly I should have tried http://localhost:3000/demo/demo1 ...doh!
All is good.
Or is it?
I see now that the demo is actually connecting to a remote es, http://demo.searchkit.co/api/movies, what must I do to connect the demo to my local es?
Can I use some of code in this project to make a project of my own ?
I checkout demo file, and build successfully.
While I could not find a Pagination Module under "http://localhost:3000/" page.
But under "http://demo.searchkit.co/" page I found that module.
Here is my code snippet: Thanks first~~~
<NoHits suggestionsField={"topic"}/>
<InitialLoader/>
<Pagination showNumbers={true}/>
Using last node version.
❯ ES_URL=http://demo.searchkit.co/api npm start
> [email protected] start /Users/josefranciscoverdugambin/Downloads/searchkit-demo
> node start.js
server running at localhost:3000, go refresh and see magic
ts-loader: Using [email protected] and /Users/josefranciscoverdugambin/Downloads/searchkit-demo/tsconfig.json
webpack built 72f5cb40c764aeed638c in 2620ms
Version: webpack 1.13.0
Time: 2620ms
Asset Size Chunks Chunk Names
bundle.js 105 kB 0 main
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/display/view-switcher/ViewSwitcherToggle.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/display/view-switcher/ViewSwitcherHits.d.ts
(17,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/tag-filter/TagFilterList.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/tag-filter/TagFilterList.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/tag-filter/TagFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/tag-filter/TagFilter.d.ts
(12,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/facet-filter/FacetFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/facet-filter/FacetFilter.d.ts
(41,23): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(15,28): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(16,29): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(17,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsErrorDisplay.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsErrorDisplay.d.ts
(13,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/SelectedFilters.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/SelectedFilters.d.ts
(4,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/SelectedFilters.d.ts
(32,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/GroupedSelectedFilters.d.ts
(20,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(8,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(10,81): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(11,60): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(12,65): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(13,56): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(14,59): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeProps.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeSlider.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeSlider.d.ts
(14,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeInput.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeInput.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeInput.d.ts
(32,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeHistogram.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeHistogram.d.ts
(6,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/TagCloud.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/TagCloud.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/Select.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/Select.d.ts
(8,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemListComponents.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemListComponents.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemHistogramList.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemHistogramList.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemComponents.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemComponents.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemComponents.d.ts
(18,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(1,73): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(2,50): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(3,53): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(4,49): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(5,52): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(6,47): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(7,46): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Layout.d.ts
(8,46): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Panel.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Panel.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(13,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(32,48): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(33,35): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/react/pure-render/PureRenderComponent.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/react/SearchkitProvider.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/react/SearchkitComponent.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/react/RenderComponent.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/react/ReactComponentType.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/react/FastClick.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/transport/MockESTransport.d.ts
(3,25): error TS2304: Cannot find name 'Promise'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/history.d.ts
(1,43): error TS2503: Cannot find namespace 'HistoryModule'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/core/history.d.ts
(1,67): error TS2503: Cannot find namespace 'HistoryModule'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/dynamic-range-filter/DynamicRangeFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/range-filter/src/RangeFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/range-filter/src/RangeFilter.d.ts
(20,41): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-refinement-filter/src/HierarchicalRefinementFilter.d.ts
(20,44): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-refinement-filter/src/HierarchicalRefinementFilter.d.ts
(21,32): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-refinement-filter/src/HierarchicalRefinementFilter.d.ts
(22,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/page-size-selector/PageSizeSelector.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/sorting-selector/src/SortingSelector.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/search-box/SearchBox.d.ts
(40,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/pagination/src/Pagination.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits-stats/src/HitsStats.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits-stats/src/HitsStats.d.ts
(20,54): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/InitialLoader.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/InitialLoader.d.ts
(7,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHits.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/Hits.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/Hits.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/Hits.d.ts
(28,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/numeric-refinement-list-filter/src/NumericRefinementListFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-menu-filter/src/HierarchicalMenuFilter.d.ts
(20,44): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-menu-filter/src/HierarchicalMenuFilter.d.ts
(21,32): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-menu-filter/src/HierarchicalMenuFilter.d.ts
(22,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/reset-filters/src/ResetFilters.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/reset-filters/src/ResetFilters.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/input-filter/InputFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/checkbox-filter/CheckboxFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(1,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/react-router/history.d.ts' not found.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(2,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/react-router/react-router.d.ts' not found.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(3,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/react/react-dom.d.ts' not found.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(4,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/react/react.d.ts' not found.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(7,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/requirejs/require.d.ts' not found.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(8,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/lodash/lodash.d.ts' not found.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/tsd.d.ts
(9,1): error TS6053: File '/Users/josefranciscoverdugambin/Downloads/searchkit-demo/typings/es6-promise/es6-promise.d.ts' not found.
ERROR in ./src/index.tsx
(1,27): error TS2307: Cannot find module 'react-dom'.
ERROR in ./src/index.tsx
(2,24): error TS2307: Cannot find module 'react'.
ERROR in ./src/index.tsx
(10,41): error TS2307: Cannot find module 'react-router'.
ERROR in ./src/index.tsx
(11,30): error TS2304: Cannot find name 'require'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/demo/HitItems.tsx
(1,20): error TS2307: Cannot find module 'lodash'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/demo/HitItems.tsx
(2,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/demo/demo2.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/demo/demo2.tsx
(2,20): error TS2307: Cannot find module 'lodash'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/demo/demo1.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/demo/demo1.tsx
(2,20): error TS2307: Cannot find module 'lodash'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/TaxonomyApp.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/ResultComponents.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/ResultComponents.tsx
(2,20): error TS2307: Cannot find module 'lodash'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/list-app/ListApp.tsx
(12,27): error TS2307: Cannot find module 'react-dom'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/list-app/ListApp.tsx
(13,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/list-app/ListApp.tsx
(16,11): error TS2304: Cannot find name 'require'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeApp.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeApp.tsx
(2,20): error TS2307: Cannot find module 'lodash'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(2,46): error TS2304: Cannot find name 'require'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(30,24): error TS2304: Cannot find name '_'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(96,20): error TS2304: Cannot find name '_'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(115,32): error TS2304: Cannot find name '_'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(133,14): error TS2304: Cannot find name '_'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(147,23): error TS2339: Property 'props' does not exist on type 'GeoMap'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(158,16): error TS2304: Cannot find name '_'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/App.tsx
(1,24): error TS2307: Cannot find module 'react'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/App.tsx
(2,20): error TS2307: Cannot find module 'lodash'.
ERROR in /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/app/src/App.tsx
(3,18): error TS2304: Cannot find name 'require'.
ERROR in ./src/index.tsx
Module build failed: Error: Typescript emitted no output for /Users/josefranciscoverdugambin/Downloads/searchkit-demo/src/index.tsx
at Object.loader (/Users/josefranciscoverdugambin/Downloads/searchkit-demo/node_modules/ts-loader/index.js:421:15)
@ multi main
Hi,
This looks like it could be a fantastic repo.
Is there a simple way to use this repo without having elastic search on my backend?
This would work well for smaller app databases.
In other words, if my app only makes 1 query (gets all the json data it needs in 1 go)- how would we remove the initial "_search" being done?
I attempted this by changing the host to my API end point, but it kept looking for "_search".
when I check out this git project. and try npm start I got this:
npm ERR! Linux 3.13.0-100-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE npm ERR! [email protected] start:
node start.jsnpm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script 'node start.js'.
I got npm and nodejs installed.
Thanks team.
Hello,
steps to reproduce in
(ubuntu 14.04.LTS 64 bits ,nodejs v4.4.1 ,npm 2.14.20)
Npm ERROR
npm ERR! peerinvalid Peer [email protected] wants history@^1.17.0
I fix this updating dependencies
Changing in package.json "dependencies" "history": "1.13.1" to ": "^1.17.0",
but runing again:;
RESPONSE:
server running at localhost:3000, go refresh and see magic
ts-loader: Using [email protected] and /home/oc/Documentos/taller/searchkit-demo/tsconfig.json
webpack built 72f5cb40c764aeed638c in 4403ms
Version: webpack 1.12.14
Time: 4403ms
Asset Size Chunks Chunk Names
bundle.js 105 kB 0 mainERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/display/view-switcher/ViewSwitcherToggle.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/display/view-switcher/ViewSwitcherHits.d.ts
(17,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/facet-filter/FacetFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/facet-filter/FacetFilter.d.ts
(41,23): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(15,28): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(16,29): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsDisplay.d.ts
(17,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsErrorDisplay.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHitsErrorDisplay.d.ts
(13,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(8,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(10,81): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(11,60): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(12,65): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(13,56): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeComponents.d.ts
(14,59): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeProps.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeSlider.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeSlider.d.ts
(14,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeInput.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeInput.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeInput.d.ts
(32,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeHistogram.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/range/RangeHistogram.d.ts
(6,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/TagCloud.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/TagCloud.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/Select.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/Select.d.ts
(8,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemListComponents.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemListComponents.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemHistogramList.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemHistogramList.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemComponents.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemComponents.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/list/ItemComponents.d.ts
(18,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Panel.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/layout/Panel.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(13,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(32,48): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/ui/filter-group/FilterGroup.d.ts
(33,35): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/react/pure-render/PureRenderComponent.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/react/SearchkitProvider.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/react/SearchkitComponent.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/react/RenderComponent.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/react/ReactComponentType.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/react/FastClick.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/transport/MockESTransport.d.ts
(3,25): error TS2304: Cannot find name 'Promise'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/history.d.ts
(1,43): error TS2503: Cannot find namespace 'HistoryModule'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/core/history.d.ts
(1,67): error TS2503: Cannot find namespace 'HistoryModule'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/range-filter/src/RangeFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/range-filter/src/RangeFilter.d.ts
(21,41): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-refinement-filter/src/HierarchicalRefinementFilter.d.ts
(20,44): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-refinement-filter/src/HierarchicalRefinementFilter.d.ts
(21,32): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-refinement-filter/src/HierarchicalRefinementFilter.d.ts
(22,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/page-size-selector/PageSizeSelector.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/sorting-selector/src/SortingSelector.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/search-box/src/SearchBox.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/pagination/src/Pagination.d.ts
(31,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits-stats/src/HitsStats.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits-stats/src/HitsStats.d.ts
(20,54): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/InitialLoader.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/InitialLoader.d.ts
(7,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/NoHits.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/Hits.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/Hits.d.ts
(9,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/hits/src/Hits.d.ts
(28,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/numeric-refinement-list-filter/src/NumericRefinementListFilter.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-menu-filter/src/HierarchicalMenuFilter.d.ts
(20,44): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-menu-filter/src/HierarchicalMenuFilter.d.ts
(21,32): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/hierarchical-menu-filter/src/HierarchicalMenuFilter.d.ts
(22,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/src/SelectedFilters.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/src/SelectedFilters.d.ts
(4,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/src/SelectedFilters.d.ts
(32,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/selected-filters/src/GroupedSelectedFilters.d.ts
(20,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/reset-filters/src/ResetFilters.d.ts
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/node_modules/searchkit/lib/src/components/search/filters/reset-filters/src/ResetFilters.d.ts
(11,15): error TS2503: Cannot find namespace 'JSX'.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(1,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/react-router/history.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(2,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/react-router/react-router.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(3,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/react/react-dom.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(4,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/react/react.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(6,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/node_modules/definition-header/dist/index.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(7,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/requirejs/require.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(8,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/lodash/lodash.d.ts' not found.ERROR in /home/oc/Documentos/taller/searchkit-demo/typings/tsd.d.ts
(9,1): error TS6053: File '/home/oc/Documentos/taller/searchkit-demo/typings/es6-promise/es6-promise.d.ts' not found.ERROR in ./src/index.tsx
(1,27): error TS2307: Cannot find module 'react-dom'.ERROR in ./src/index.tsx
(2,24): error TS2307: Cannot find module 'react'.ERROR in ./src/index.tsx
(10,41): error TS2307: Cannot find module 'react-router'.ERROR in ./src/index.tsx
(11,30): error TS2304: Cannot find name 'require'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/demo/HitItems.tsx
(1,20): error TS2307: Cannot find module 'lodash'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/demo/HitItems.tsx
(2,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/demo/demo2.tsx
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/demo/demo2.tsx
(2,20): error TS2307: Cannot find module 'lodash'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/demo/demo1.tsx
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/demo/demo1.tsx
(2,20): error TS2307: Cannot find module 'lodash'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/TaxonomyApp.tsx
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/list-app/ListApp.tsx
(9,27): error TS2307: Cannot find module 'react-dom'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/list-app/ListApp.tsx
(10,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/list-app/ListApp.tsx
(13,11): error TS2304: Cannot find name 'require'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeApp.tsx
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeApp.tsx
(2,20): error TS2307: Cannot find module 'lodash'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(2,46): error TS2304: Cannot find name 'require'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(30,24): error TS2304: Cannot find name '_'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(96,20): error TS2304: Cannot find name '_'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(115,32): error TS2304: Cannot find name '_'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(133,14): error TS2304: Cannot find name '_'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(147,23): error TS2339: Property 'props' does not exist on type 'GeoMap'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/crime/CrimeAggs.tsx
(158,16): error TS2304: Cannot find name '_'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/App.tsx
(1,24): error TS2307: Cannot find module 'react'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/App.tsx
(2,20): error TS2307: Cannot find module 'lodash'.ERROR in /home/oc/Documentos/taller/searchkit-demo/src/app/src/App.tsx
(3,18): error TS2304: Cannot find name 'require'.ERROR in ./src/index.tsx
Module build failed: Error: Typescript emitted no output for /home/oc/Documentos/taller/searchkit-demo/src/index.tsx
at Object.loader (/home/oc/Documentos/taller/searchkit-demo/node_modules/ts-loader/index.js:421:15)
@ multi main
webpack: bundle is now VALID.
List global installed packages
npm ls -g -depth=2
/usr/lib
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Thanks
I cloned the demo to check it out but got it looks like TSD is a core dependency and that has been depreciated for typings.
Cheers!
Hi
"ERROR in /searchkit-demo/node_modules/@types/react-router/lib/withRouter.d.ts (3,99): error TS2314: Generic type 'PureComponent<P, S>' requires 2 type argument(s)."
when running the app.
Node 8.1.2
React 15.6.1
Ubuntu
What else do you need to diagnose?
Internet says this: https://stackoverflow.com/questions/32506180/error-ts2314-generic-type-componentp-s-requires-2-type-arguments
but I cannot find React.Component in code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.