Code Monkey home page Code Monkey logo

platform-samples's Introduction

platform-samples's People

Contributors

a-tylenda avatar alicja-gruzdz avatar daro1337 avatar eryksol avatar gierwialo avatar gzukowski avatar karoltylenda avatar kociolekscramjet avatar mcdominik avatar michalcz avatar patuwwy avatar piotrek6641 avatar raynawfal avatar s4adam avatar stokowski avatar tatarinho avatar tomekcrm avatar witold-pruchnicki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

platform-samples's Issues

Npm install

I am unable to install dependencies using node 18.14.0 and npm 9.3.1, after changing to node version 16 everything works as expected.
Screenshot from 2023-02-06 15-06-06

[BUG] NPM workspaces started to work!

I don't know exactly when but npm started to embrace workspaces as such. Because of that node_modules is in root repo and not in individual packages. npm i doesn't install node_modules in sequence's directory. If we pack a sequence from this repo and it has dependencies defined in package.json it simply won't work.

../../../node_modules/@types/tar/index.d.ts:239:36 - error TS2709: Cannot use namespace 'MiniPass' as a type.

ubuntu@ip-172-26-6-12:~/platform-samples/typescript/slack-write$ npm run build

> @scramjet/[email protected] build
> tsc -p tsconfig.json

../../../node_modules/@types/tar/index.d.ts:239:36 - error TS2709: Cannot use namespace 'MiniPass' as a type.

239 export interface ReadEntry extends MiniPass, HeaderProperties {
                                       ~~~~~~~~


Found 1 error in ../../../node_modules/@types/tar/index.d.ts:239

npm ERR! Lifecycle script `build` failed with error: 
npm ERR! Error: command failed 
npm ERR!   in workspace: @scramjet/[email protected] 
npm ERR!   at location: /home/ubuntu/platform-samples/typescript/slack-write 

I tried to override the version for minipass but I have yet to find a way to work around this. Anyone figure this out? Appears minipass updated and this project will no longer work without it being updated as the tar cannot be read properly.

Additional Samples

Can I have the same sample as JavaScript 'Hello' sample but written in Typescript and Python? It would be clearer to have them in this repository with README and in all three languages. thanks

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.