brambow / elements Goto Github PK
View Code? Open in Web Editor NEWThemeable React components for map-based web applications
Home Page: https://cartolab-gis.github.io/elements/
License: MIT License
Themeable React components for map-based web applications
Home Page: https://cartolab-gis.github.io/elements/
License: MIT License
Describe the bug
All of yarn
, yarn dev
, yarn add @cartolab/elements
fail.
To Reproduce
git clone https://github.com/cartolab-gis/elements
cd elements
yarn
// or yarn dev
Expected behavior
Project builds
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Traceback:
> yarn add @cartolab/elements
yarn add v1.19.2
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@>=2".
warning " > [email protected]" has unmet peer dependency "@storybook/[email protected]".
[4/4] ๐จ Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
โโ @cartolab/[email protected]
info All dependencies
โโ @cartolab/[email protected]
$ yarn build && yarn build-storybook
yarn run v1.19.2
$ yarn build-prep && yarn build-clean
$ del-cli dist && NODE_ENV=production rollup -c --context
./src/index.js โ dist/index.js, dist/index.esm.js...
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
theme-ui (imported by src/components/_common/ElementsProvider.js)
react-icons/md (imported by src/components/Draw/Draw.js, src/components/Measure/Measure.js, src/components/Select/Select.js)
@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw (imported by src/components/Measure/Measure.js, src/components/Select/Select.js)
[!] Error: Could not resolve '../../../config' from src/components/Search/util/handleSearchSubmit.js
Error: Could not resolve '../../../config' from src/components/Search/util/handleSearchSubmit.js
at error (/Users/kyle/github/mapping/cartolab-gis-elements/node_modules/rollup/dist/rollup.js:5362:30)
at ModuleLoader.handleMissingImports (/Users/kyle/github/mapping/cartolab-gis-elements/node_modules/rollup/dist/rollup.js:12200:17)
at ModuleLoader.<anonymous> (/Users/kyle/github/mapping/cartolab-gis-elements/node_modules/rollup/dist/rollup.js:12091:30)
at Generator.next (<anonymous>)
at fulfilled (/Users/kyle/github/mapping/cartolab-gis-elements/node_modules/rollup/dist/rollup.js:41:28)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
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.