![]() ![]() ![]() ![]() Note: ensure to redact or obfuscate all confidential or identifying information (eg. If you fix the problem yourself, please post your solution, so that others can also learn. ✻ Smokey says: install an ad-blocker to fight climate change! If you're posting for help, please include the following details, so that we can help you more efficiently: Any distro, any platform! Explicitly noob-friendly. I'm not sure what that means :( 0 info it worked if it ends with okġ verbose cli Ģ info using info using verbose npm-session efde1beff9869d1aħ silly fetchPackageMetaData error for Command failed: /usr/bin/git submodule update -q -init -recursiveħ silly fetchPackageMetaData fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-9b8b57e8': Permission deniedĨ timing stage:rollbackFailedOptional Completed in 4msĩ timing stage:runTopLevelLifecycles Completed in 19820msġ0 verbose stack Error: Command failed: /usr/bin/git submodule update -q -init -recursiveġ0 verbose stack fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-9b8b57e8': Permission deniedġ0 verbose stack at ChildProcess.exithandler (child_process.js:294:12)ġ0 verbose stack at ChildProcess.emit (events.js:189:13)ġ0 verbose stack at maybeClose (internal/child_process.js:978:16)ġ0 verbose stack at (internal/child_process.js:395:11)ġ0 verbose stack at Socket.emit (events.js:189:13)ġ0 verbose stack at Pipe._handle.close (net.js:610:12)ġ1 verbose cwd /home/pi/Desktop/pickardbotġ3 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "discord.js"ġ7 error Command failed: /usr/bin/git submodule update -q -init -recursiveġ7 error fatal: Could not change back to '/root/.Linux introductions, tips and tutorials. bash: cd: /root/.npm/_cacache/tmp/git-clone-9b8b57e8: No such file or cd cd dirĬontent-v2 index-v5 cd was also able to get into the log file but it basically says the same thing as the error except it gives an error 128. please see below: $ sudo cd /root/.npm/_cacache/tmp/git-clone-9b8b57e8 I wasn't able to find "git-clone-9b8b57e8" within that directory though. See all download options Raspberry Pi Desktop for PC and Mac Debian with Raspberry Pi Desktop is our operating system for PC and Mac. Manually install an operating system image Browse a range of operating systems provided by Raspberry Pi, and download them to install manually. I had to specifically tell the system to go into that directory which it eventually did. sudo apt install rpi-imager in a Terminal window. Even then the /.npm/ directory refused to show up while I was in "sudo -i". that being said it was a b*&^% trying to get there as the gui flat out refused me access due to not being able to access the directory as root unless within the terminal. The "tmp" directory does exist as per what I've been able to navigate to in terminal below. Npm ERR! anyone know what I did wrong / can anyone tell me a better OS / Terminal OS to use other than Raspbian? I swear it feels like Raspbian is laughing at me every step of the way while Manjaro on Arch is very intuitive. 1 I've been trying to edit my opt\vc file and encountered some problems: here is what i've done: piraspberrypi:/opt/vc mkdir NEW mkdir: cannot create directory ‘NEW’: Permission denied i'm pretty new at this so i don't really know what to do. Npm ERR! A complete log of this run can be found in: Isn't you working on some USB drive with fat or NTFS partition Run mount command and check for noexec flag for device where your current dir is. ![]() I know your program is just reading the file but try to extend your permissions. 1,225 5 18 34 Please show file permissions of HelloWorld frlan at 16:46 For me g++ always add +x flags to file. Do chmod with r,w or x respectively to add read, write or execute permission. Npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-55fe4843': Permission denied Consider also changing your permission on the file. Npm ERR! Command failed: /usr/bin/git submodule update -q -init -recursive It keeps giving me this error code below even though I'm running my commands as npm install discord.js I'm running the "NOOBS" version of Raspbian since I'm new to Pi (although I have manjaro on my laptop I'm writing on right now) and I've installed NPM, libssl, libffl, and No Node.js but I just can't for the life of me get Discord.js to install. I just bought my first Raspberry Pi 3 B in order to run a discord bot but I'm having a hell-of-a-time getting it to work. The best thing? The base model is only $20 $5!.ĭo you know a related subreddit? We'd love to know. Welcome to /r/raspberry_pi, a subreddit for discussing the raspberry pi credit card sized, ARM powered computer, and the glorious things we can do with it. Pi project ideas: There's a huge list right here on this sub! Friendly reminder: Please don't just post pictures of unused pis - do a project!Ĭomplete r/raspberry_pi Rules Check the FAQ and Helpdesk here ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |