webalys-hq / streamlinehq-npm

The deprecated Streamline NPM package, which will be deleted on 1st November 2022.
https://medium.com/streamline-icons/how-streamline-narrows-down-its-focus-eac6fdb5c6f2
24 stars 5 forks source link

Deployment pipeline failed on Streamline icon #47

Closed tomexx closed 3 years ago

tomexx commented 3 years ago

Hi there,

we are experiencing a problem as we aren't able to run a deployment pipeline b/c of Streamline icons cannot be resolved.

./src/components/modules/navigation/HeaderMenu.tsx
Module not found: Can't resolve '@streamlinehq/streamlinehq/img/streamline-bold/social-instagram-Nc3WWa.svg' in '/usr/src/app/src/components/modules/navigation'
./src/components/modules/navigation/HeaderMenu.tsx
Module not found: Can't resolve '@streamlinehq/streamlinehq/img/streamline-bold/social-media-facebook-1-LXc7gT.svg' in '/usr/src/app/src/components/modules/navigation'
mkowal7 commented 3 years ago

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

cbrwizard commented 3 years ago

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.

woeterman94 commented 3 years ago

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'
woeterman94 commented 3 years ago

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

hanneskuettner commented 3 years ago

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?

sorlovsky commented 3 years ago

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

cbrwizard commented 3 years ago

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

Here is what happened:

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

What else Streamline should do:

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

sorlovsky commented 3 years ago

@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
cbrwizard commented 3 years ago

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