Giter VIP home page Giter VIP logo

dobble-with-words's Introduction

dobble-with-words's People

Contributors

3dyuval avatar ariel1985 avatar

Watchers

 avatar

dobble-with-words's Issues

Add a chat

Phase 1: Bot press/ dialog - cloud service
Phase 2: local host

Bot can

  • say hello,
  • save chats and link to a media client like telegram...? Maybe use vuejs chat with firebase?

Jimp will not compile

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".

Gallery.tsx does not compile

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.

remove letters frame in pdf output

Image

[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: תסתכלי שמסביב לכל אות יש מסגרת דקה

Eport PDF not working

זה בעיה שהכפתור חושב שהוא לינק
https://net-informations.com/js/iq/void.htm
או שהקוד שהוא מפעיל נשבר?
בכל אופן הבעיה של jimp זה בעיה ידועה ,
זה ספרייה שעושה אקספורט בסינטקסט commonjs, זה צריך לעבוד טרנספילציה , אז צריך להוסיף אותה (את jimp) ל build

Vite build include commonjs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.