Comments (8)
Thanks for the report. I updated to node-canvas v2 and published filebazaar v0.2.7. Can you check if this fixes the issue?
from filebazaar.
Still got the issue, although i think it may have been a permission issue on my end, I'm not sure.
I made myself owner of some npm-related folders, for instance:
sudo chown -R `whoami` /usr/local/lib/node_modules
...and that seems to have fixed the issue.
from filebazaar.
Is there any way I can try installing the old version to see if it works with my setup? Sorry, I'm kind of a newb at npm.
from filebazaar.
Well, I tried npm install [email protected]
and now I'm having permission issues again :(
Now it's having trouble creating a symlink.
from filebazaar.
Okay, weird, next I tried
sudo npm install -g filebazaar
Which gave me the symlink permission issue and the ELIFECYCLE error again.
Tried npm install -g filebazaar
again, just to see what the error was, and boom! No error.
I'm so confused.
from filebazaar.
Oh, I think I know what happened. I sudo rm
'd the symlink, so now it doesn't need permission to overwrite the old symlink I think.
from filebazaar.
Okay never mind. I see what's happening.
I run npm install -g [email protected]
and it gives me a "can't create symlink" EACCESS error, but not the ELIFECYCLE error. Perhaps this is because canvas
is already installed properly from my earlier install of [email protected]
?
Then I run sudo npm install -g [email protected]
and I get an ELIFECYCLE error, but the symlink gets created. It doesn't appear to be pointing to anything, though, which makes it appear red in ls -al
.
Then I run npm install -g [email protected]
once again, and I get the ELIFECYCLE error.
Then I run npm install -g filebazaar
to install 0.2.7, and the installation completes successfully.
So, yes, your update fixed the problem, but I also have some weird symlink creation problems. Is it best practice to chown
/usr/local/bin
to a non-root user?
from filebazaar.
What I would recommend is configuring npm to install global packages inside your home directory and adding that to your PATH
. See instructions here. This typically resolves these pesky npm permission issues, which can indeed be a pain with how npm ships by default :(
from filebazaar.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filebazaar.