Demo link: https://silly-quokka-7e4149.netlify.app/
After clone install and run
npm i
npm run dev
Demo link: https://silly-quokka-7e4149.netlify.app/
After clone install and run
npm i
npm run dev
Phase 1: Bot press/ dialog - cloud service
Phase 2: local host
Bot can
. אולי כדאי אז לציין שזה יכול מספר דקות ולא לסגור את החלון
Load Examples
Upload Images
vite v4.0.4 building for production...
transforming (8) src/api/lib.ts[plugin:vite:dynamic-import-vars] invalid import "../../images/${file}". A file extension must be included in the static part of the import. For example: import(./foo/${bar}.js
).
transforming (2101) node_modules/@popperjs/core/lib/dom-utils/getScrollParent.jsUse of eval in "node_modules/jimp/browser/lib/jimp.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 2142 modules transformed.
"default" is not exported by "node_modules/jimp/browser/lib/jimp.js", imported by "src/api/lib.ts".
file: /home/ro/Dropbox/Scripts/js/gamerim/dobble-generator-v1/src/api/lib.ts:2:7
1: import Ajv, { SchemaObject } from 'ajv'
2: import Jimp from 'jimp/browser/lib/jimp'
^
3: // import { default as Jimp } from 'jimp/browser/lib/jimp'
4: // import Jimp from 'jimp/es'
error during build:
RollupError: "default" is not exported by "node_modules/jimp/browser/lib/jimp.js", imported by "src/api/lib.ts".
Something is wrong with the Dropbdown -
src/components/Gallery.tsx:33:31 - error TS2322: Type 'string' is not assignable to type 'undefined'.
33 return setUrl((prev) => value)
~~~~~
node_modules/@types/react/index.d.ts:857:35
857 type SetStateAction = S | ((prevState: S) => S);
~~~~~~~~~~~~~~~~~~~
The expected type comes from the return type of this signature.
src/components/Gallery.tsx:63:9 - error TS2322: Type 'Element' is not assignable to type 'string'.
63 <Dropdown
~~~~~~~~~
64 text="Images gallery \ בחירה מהמאגר"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
66 onChange={handleDropdownChange}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 />
~~~~~~~~~~
src/components/Component/Header.tsx:4:3
4 children: string
~~~~~~~~
The expected type comes from property 'children' which is declared here on type 'IntrinsicAttributes & Props'
src/components/Gallery.tsx:65:11 - error TS2322: Type '({ key: number; text: string; description: string; value: string; } | { key: number; text: string; description: string; value: string[]; })[]' is not assignable to type 'DropdownItemProps[]'.
Type '{ key: number; text: string; description: string; value: string; } | { key: number; text: string; description: string; value: string[]; }' is not assignable to type 'DropdownItemProps'.
Type '{ key: number; text: string; description: string; value: string[]; }' is not assignable to type 'DropdownItemProps'.
Types of property 'value' are incompatible.
Type 'string[]' is not assignable to type 'string | number | boolean'.
Type 'string[]' is not assignable to type 'string'.
65 options={options}
~~~~~~~
node_modules/semantic-ui-react/dist/commonjs/modules/Dropdown/Dropdown.d.ts:214:3
214 options?: DropdownItemProps[]
~~~~~~~
The expected type comes from property 'options' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<DropdownProps, any, any>> & Readonly'
Found 3 errors.
[10:52, 11/7/2023] A: אטפל בזה, יש עוד?
[10:54, 11/7/2023] Mor Arduino: אפשר לעשות שזה יהיה בלי מסגרת? זה מפריע
[10:55, 11/7/2023] A: איזה מסגרת?
[10:55, 11/7/2023] A: אפשר יותר פרטים פה - כמה מילים העלית?
[10:59, 11/7/2023] Mor Arduino: כאן העליתי 7
[10:59, 11/7/2023] Mor Arduino: תסתכלי שמסביב לכל אות יש מסגרת דקה
זה בעיה שהכפתור חושב שהוא לינק
https://net-informations.com/js/iq/void.htm
או שהקוד שהוא מפעיל נשבר?
בכל אופן הבעיה של jimp זה בעיה ידועה ,
זה ספרייה שעושה אקספורט בסינטקסט commonjs, זה צריך לעבוד טרנספילציה , אז צריך להוסיף אותה (את jimp) ל build
Vite build include commonjs
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.