I was in a coding bootcamp last year and have not used vsc in a good while since, but am trying to get back into coding and am making a react app. I tried making a new react-app as i would in the past, but it could not make a template due to being outdated? i tried 'npm uninstall -g create-react-app' as suggested by most then just trying to create it again. problem being when i do i get lines of ERR one of which says,
"The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user"
i have tried anything, anything safe, i can find but nothing will give me access. what exactly is this? i am logged in as i just did and even said lat log in at so and so time meaning my user account is logged in. anything helps, but i guess i missunderstand what is happening here as i am not totally well versed in much of this yet. thank you for your time and helping a newbie out!
Related
So I have been learning about databases and I'm new to it. In my udemy course the video was outdated for the installation of MngoDB version 6.0.1. The video instructor showed a way to install it using the vim editor. However it didn't work for me. Then I discovered that many people are going through the same problem and a guy told a solution to delete the file created with vim and instead use "system environment variable". I edited the path by adding a new one in which I did exactly as the guy mentioned to specify the 'bin' folder inside mongoDB in the Program files. And when I tried to run the 'mongod' command inside hyper I got this at the last line.
{"t":{"$date":"2022-09-09T10:05:27.885+05:30"},"s":"I", "c":"NETWORK", "id":23016,
"ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
The instructor did mention that I should see something like "Waiting for connections at port 27017". However the last line in hyper doesn't explicitly mention it in one line, but I think that's fine. Because the instructor was using a mac and I am using a Windows device. Now here comes the main error. When I open a new tab in Hyper and type 'mongo', I get this error
$ mongo
bash: mongo: command not found
I've researched a lot on stackoverflow but nothing helped me in the end. However I can provide with something that might help in figuring out the solution. Here's something unusual that I noticed. The 'bin' folder in C:/ProgramFiles/MongoDB/Server/6.0 seems to contain very few files. It has only 2 .exe applications namely - 'mongod.exe' & 'mongos.exe'. There is no 'mongo.exe' that my instructor has on her computer. I think this might be the root of the problem, however I'm not sure. also there are other files that seem to be missing. But I would like to mention that I've not tampered the files even once since I've installed them from the setup. I hope this is enough for you guys to solve this. Please help me.
I'm having issues with the 'ng new [workspace-name-here]' command when I'm trying to just create a new Angular project. It just hangs at the "Installing packages (npm)..." text for several minutes, upto a half hour or longer in the few times I've tried it tonight. I never get beyond this point.
I hear it takes a notoriously long time, from nearly every stack overflow post or Udemy instruction over the last three or four years, but nothing's stuck.
I've tried running the command line as administrator, which was what my course I'm in suggested I do.
I've also found a few old Stack Overflow questions where people sounded like they had the same issue, but the provided solutions were more or less 'it takes time. Just wait it out'.
I've seen this question here: Angular 9 ng new stuck at installing packages which more or less says 'just wait it out. It WILL take a long time.', as well as the following on git, which says 'this is an issue with npm. Do something about your npm install'
https://github.com/angular/angular-cli/issues/3032
Turns out I was trying to run this command on an external harddrive I'd been dedicating to other projects- and this command didn't like being directed to the harddrive. Once I changed to B:/, it worked totally fine.
When trying to run the create-react-a-app or 'babel' command in command line, I get the error:
This program has been blocked by group policy
I have been unable to find the offending policy on my machine using the group policy editor.
could not find any solutions online so far. Would greatly appreciate being pointed in the right direction here.
Just saw this:
I got the exact same error. Thought it was my company's policies that prevented npx.
First I ran set-execution policy as an administrator in power shell. Then I remembered that I had already create one project with npx. Apparently I had used the same name for that project. After changing the project name, everything ran smoothly.
Not sure if the set-execution policy step is necessary, but I ran it and it worked.
I have this problems with Xcode
when i try to compile a program the Xcode just close (randomly) the project where i'am working, this happen with any type of code, like "printf("%d",1+1) or any other more complex code. And don't happen every time, just some times.
And that it's, i don't know why this start to happen. Anyone know how to fix this issue?
I'm working with Command Line Tool, and the language is C.
Did you recently upgrade to Yosemite? One of the reasons might be the upgrade.
Un-install and re-install Xcode and try.
For other internal problems you will need to send the code or a log of the error report.
I am not a programmer. I have some software at work that keeps crashing on me. I used the Visual Studio debugger last time it crashed and found out it was unhandled exceptions.
The first unhandled exception is at 0x0048ADF0 in Cyclone.exe and is an Access violation writing to location 0x00000003.
My research leads me to understand that this is the program trying to write to memory that the process doesn't have permission to.
When running the debug in Visual Studio, after the access violation exception there is a long list of Unhandled exceptions similar to this "...at 0x776C016E (ntdll.dll) in Cyclone.exe: 0x00000000: The operation completed successfully." with different addresses.
Is there any way I can fix this without being a programmer? Some sort of modification to the app files or settings, or a tutorial or something.
No, there is no way. It's not different from asking if you can drive a car without knowing anything about driving.
Sounds like you need to report the problem to the person or company who provided it. What you need to do, however, is give them enough information to understand the problem and fix it. This includes:
what version of their program are you running
which computer operating system (e.g. Windows) and which version (e.g. 7)
precisely what steps you have to take to make the error occur
whether you have changed anything recently, e.g. by installing Windows Updates or changing your anti-virus protection
precise details of any error messages you see, ideally by copy/paste or by providing a screenshot of the erro
anything else you think might help them to help you
Be prepared for them to ask you additional questions, or try some tests to help figure out the cause and a way to solve it.
Your research sounds about right but I don't think there is much anyone here can do to help (unless they happen to work on the application).
Your best bet would be to look for a "Help" or an "About" screen and contact the people who wrote it with this information