Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM warning for npmrc entry #161

Closed
wallzero opened this issue Jan 19, 2023 · 5 comments
Closed

NPM warning for npmrc entry #161

wallzero opened this issue Jan 19, 2023 · 5 comments

Comments

@wallzero
Copy link

When using NPM I receive the following warning:

npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
npm WARN config location in the cache, and they are managed by
npm WARN config     [`cacache`](http://npm.im/cacache).

It is possible to remove the tmp line from ~/.var/app/com.vscodium.codium/config/npmrc but not from the Flatpak's read-only /app/etc/npmrc.

tmp=${XDG_CACHE_HOME}

The warning does cause some issues with command line utilities executed by npm.

noonsleeper added a commit that referenced this issue Feb 3, 2023
noonsleeper added a commit that referenced this issue Feb 3, 2023
@noonsleeper
Copy link
Collaborator

Hey @wallzero, following this info, I built a testing package. Can you try it and say if all is in place without any errors?

@wallzero
Copy link
Author

wallzero commented Feb 9, 2023

Thanks! And sorry I couldn't test it until today. I'm getting a 404 when I try to pull the flatpak. Is it possibly expired?

@noonsleeper
Copy link
Collaborator

Yes indeed, the build's lifetime is 24hs. I'll run a new build for you.

@wallzero
Copy link
Author

I tested the build today and didn't run into any issues. The error is indeed gone and it no longer causes issues with some terminal command interfaces.

noonsleeper added a commit that referenced this issue Mar 3, 2023
🛠️ WIP #161 Remove npmrc file
@noonsleeper
Copy link
Collaborator

This was already meged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants