Git Product home page Git Product logo

Comments (9)

cbrwizard avatar cbrwizard commented on June 16, 2024 3

The issue has been resolved now. I sincerely apologize for the issue caused. I personally know how frustrating it is.

Here is what happened:

  • Streamline is in the process of migrating to better backend. Our website has already migrated to it, next steps were to move other clients: npm, figma plugin, sketch plugin
  • 3.0.4 update to npm was about pointing it to new backend. Pointing to a new backend isn't a breaking change, hence the minor version update. I expected everything to work as usual and nobody would even notice the change.
  • However, it didn't go well. The npm installation endpoint turned out to be not optimized and new backend wasn't ready for that. Npm installation requests led to whole Streamline backend going down frequently. At first I thought that it's a temporary issue but it kept getting worse as more and more users have switched to 3.0.4.
  • When I found out about the issue I could not unpublish 3.0.4 package because it was already being used by some projects and it stopped the npm unpublish command. Oops.
  • What's more, previous backend also went down because of an unexpected misconfiguration issue which went unnoticed because our error reporting system is also malfunctioning. That led to users of npm 3.0.3 not being able to use the package and led them to updating to 3.0.4 which led them directly to another trap.

Afterwards, I've started fixin'. The following work has been done:

  • I have revived old backend, so that 3.0.3 users can keep using it.
  • I have optimized npm installation endpoint so that now it's 65% faster. I basically put some data into db instead of generating it on the fly and it works. I should've done that earlier.

What else Streamline should do:

  • Improve our alerts & logging system to be able to detect & fix endpoints which cause performance issues
  • Setup a reverse proxy for old backend so that requests to it get redirected to the new one

Once again, I greatly appreciate your patience and thank you for using Streamline

from streamlinehq-npm.

hanneskuettner avatar hanneskuettner commented on June 16, 2024 2

Using version 3.0.4 seems to work
"@streamlinehq/streamlinehq": "^3.0.4",

For me this results in Error: Streamline is unavailable, please try again later.
Might be a sporadic server problem that doesn't impact everyone at all times?

from streamlinehq-npm.

cbrwizard avatar cbrwizard commented on June 16, 2024 1

Thank you for reporting this, we're aware of the issue and planning to resolve it soon. Our own CI is impacted by this as we also use this package internally.

from streamlinehq-npm.

woeterman94 avatar woeterman94 commented on June 16, 2024 1

Using version 3.0.4 seems to work
"@streamlinehq/streamlinehq": "^3.0.4",

from streamlinehq-npm.

sorlovsky avatar sorlovsky commented on June 16, 2024 1

Seeing the same behavior as @hanneskuettner , our builds are failing about 50% of the time with the error specified above.

from streamlinehq-npm.

mkowal7 avatar mkowal7 commented on June 16, 2024

Update the package to the latest version. I had the same problem as you

from streamlinehq-npm.

woeterman94 avatar woeterman94 commented on June 16, 2024

Got the exact same issue

./src/app/claims-detail/claims-detail.module.ts:14:0-115 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/arrows-diagrams/arrows/arrow-down-1.svg' in '/home/vsts/work/1/s/src/app/claims-detail'

./src/app/claims-detail/claims-detail.module.ts:15:0-117 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/arrows-diagrams/arrows/arrow-right-1.svg' in '/home/vsts/work/1/s/src/app/claims-detail'

./src/app/claims/claims.module.ts:9:0-115 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/arrows-diagrams/arrows/arrow-down-1.svg' in '/home/vsts/work/1/s/src/app/claims'

./src/app/create-claim/create-claim.module.ts:12:0-107 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/files-folders/folders/folder-1.svg' in '/home/vsts/work/1/s/src/app/create-claim'

./src/app/create-claim/create-claim.module.ts:13:0-119 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/interface-essential/form-validation/check-1.svg' in '/home/vsts/work/1/s/src/app/create-claim'

./src/app/create-claim/create-claim.module.ts:14:0-112 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/interface-essential/loading/loading.svg' in '/home/vsts/work/1/s/src/app/create-claim'

./src/app/create-claim/create-claim.module.ts:15:0-123 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/shopping-ecommerce/tags-codes/barcode-scan.svg' in '/home/vsts/work/1/s/src/app/create-claim'

./src/app/shared/components/toolbar/toolbar.module.ts:2:0-112 - Error: Module not found: Error: Can't resolve '@streamlinehq/streamlinehq/img/streamline-regular/arrows-diagrams/arrows/arrow-left.svg' in '/home/vsts/work/1/s/src/app/shared/components/toolbar'

from streamlinehq-npm.

sorlovsky avatar sorlovsky commented on June 16, 2024

@cbrwizard hello, I want to report that one of our engineers is still receiving errors trying to pull in 3.0.4 can you provide any guidance?

Error: Streamline is unavailable, please try again later

from streamlinehq-npm.

cbrwizard avatar cbrwizard commented on June 16, 2024

@sorlovsky sorry to hear that. NPM installation endpoint still isn't perfect and sometimes works slowly. We're working on improving our database to speed this up as it impacts the whole website. Meanwhile we have cache in place and if the first request fails please try again in a minute: it should use the cached version which works faster.

from streamlinehq-npm.

Related Issues (20)

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.