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

404 streamline bold package #29

Closed stigvanbrabant closed 3 years ago

stigvanbrabant commented 3 years ago

I pulled a project (which works on my other device using ubuntu and on a netlify build) onto my macbook. Now when trying to run npm install it throws a 404 for the streamline-bold package.

image

I configured my streamline throught the streamlinehq.json file:

{ "families": ["streamline-regular", "streamline-bold"], "secret": "<-- secret token -->" }

cbrwizard commented 3 years ago

Hey, looks like you're trying to install a deprecated @streamlinehq/streamline-bold package, which you shouldn't, as stated here https://github.com/webalys-hq/streamlinehq-npm#troubleshooting. You just need to install 1 Streamline package: the current one: @streamlinehq/streamlinehq.

Also I'd recomment to remove the streamlinehq.json config and use standard .env instead, like described here https://github.com/webalys-hq/streamlinehq-npm#how-to-use

stigvanbrabant commented 3 years ago

image well @streamlinehq/streamline-bold is not in my package.json, i'm guessing @streamlinehq/streamlinehq still uses the old package to fetch the assets?

stigvanbrabant commented 3 years ago

i've also migrated to use the .env file but still nu success

cbrwizard commented 3 years ago

Okay, why does your project still try to fetch a deprecated @streamlinehq/streamline-bold package? Maybe something is left inside the *lock file? Try looking for this streamline-bold in your project. Also try reinstalling all node_modules. Also try the solution I've described here https://github.com/webalys-hq/streamlinehq-npm/issues/5#issuecomment-809350883

Also it's not related but I'd recommend you to use latest version of the package: 3.0

stigvanbrabant commented 3 years ago

Yeah my bad, it's indeed still in the package-lock because of a dependency. Thanks for the quick responses, yeah i updated it but then downgraded it again because i thought it was causing the issue, i will update it to the latest version again.