-
Notifications
You must be signed in to change notification settings - Fork 5
Build failure: The required namespace "eui.provider" is not available #38
Comments
I think the libraries in the example are just outdated. I updated the - "@elastic/eui": "41.2.0",
+ "@elastic/eui": "64.0.0",
+ "@emotion/css": "^11.10.5",
+ "@emotion/react": "^11.10.5", The - co.elastic/eui-cljs {:mvn/version "41.2.0"}
+ co.elastic/eui-cljs {:mvn/version "64.0.0"} Finally, update the code to reflect the new components.
(ns sample-app.core
(:require ...
- [eui.page-content :refer [EuiPageContent]]
- [eui.page-content-body :refer [EuiPageContentBody]]
+ [eui.page-template :refer [EuiPageTemplate]]
+ [eui.page-section :refer [EuiPageSection]]
...
- [:> EuiPageContent
- [:> EuiPageContentBody
+ [:> EuiPageTemplate
+ [:> EuiPageSection
... Your build should be green now ✅. |
@vloth This did solve the problem, thank you very much!!! |
That would be great thank you! |
Page content was deprecated in favor of a general purpose page template, or page section [1]. Added peerDependencies as required in the version 64.0.0 [2]. Fixes elastic#38 [1]: elastic/eui#6194 [2]: https://github.com/elastic/eui/blob/v64.0.0/wiki/consuming.md#installation
Page content was deprecated in favor of a general purpose page template, or page section [1]. Added peerDependencies as required in the version 64.0.0 [2]. Fixes #38 [1]: elastic/eui#6194 [2]: https://github.com/elastic/eui/blob/v64.0.0/wiki/consuming.md#installation
Hello, I encountered such a problem when starting eui-cljs/examples/sample-app, and Opening the
http://localhost:3333/
doesn't show anything(GET http://localhost:3333/js/main.js net::ERR_ABORTED 404 (Not Found)), can you help me? I am new to clojure. thanksThe text was updated successfully, but these errors were encountered: