-
Notifications
You must be signed in to change notification settings - Fork 279
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
ERROR - node:internal/modules/cjs/loader:936 throw err; #3709
Comments
I have the same problem |
Same problem, any solution?? |
same shit! PS C:\hashlips_art_engine-1.1.1_update> node utils/nftport/uploadFiles.js Error: Cannot find module 'C:\hashlips_art_engine-1.1.1_update\utils\nftport\uploadFiles.js' |
same problem |
Figured it out. I left some things out in main.js
…On Mon, Feb 14, 2022, 5:32 PM Soroushj1 ***@***.***> wrote:
same problem
—
Reply to this email directly, view it on GitHub
<#3709 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXQISKOCHJGK4V52RJ5WEELU3F7HVANCNFSM5M7JOBJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hello, the same issue BR everyone |
I also need help here! much needed, thanks:) |
Same i need help, thanks for any information 👍 |
Recently I was doing one simple project which would show Riddles in Command Line. I published it as npm package, but when I execute it (npx riddles-cli) I get the above mentioned error. Repository link: npm package |
Can someone post a code snippet that can be used to reproduce or an example? |
Following this tutorial results in specified error |
any updates? |
anyone know how to fix already?? its f ing up my discord bot learning process (: |
One thing I observed is that this error occurs when we don't install the required dependencies correctly. But this works only for some cases, but it didn't work for me.So for now try this,
Hope this helps😅 |
yooo thanks man, im gonna try that rn. but how do i re-install the necessary modules? |
Welcome:) All the type of dependencies are present in So all you have to do is, npm i or npm install Both should work fine😅 |
Well it seems this method is not working even for you(Even I'm getting the same error). We'll figure out something. |
could you add me on discord so we could think of a solution or so you could let me now if theres a solutions found? |
Hello All, Is there anybody who passed through this |
not working. getting same error |
i know man had the same thing ); |
I basically installed node again not through the commandline and it worked! I know it should work the same… but it didnt
…Sent from my iPhone
On Mar 9, 2022, at 1:23 PM, dookpook ***@***.***> wrote:
Welcome:)
All the type of dependencies are present in package.json file,
So all you have to do is, open your terminal in project folder and execute the below command.
npm i
or
npm install
Both should work fine😅
not working. getting same error
i know man had the same thing );
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
i was thinking of resetting my pc and starting over my project, is this gonna fix the issue? |
Yeah sure I'll add you! My discord username: nkilm#7651 |
Already tried that one, but no luck. |
I don't think it is related to PC, something with nodejs itself. |
alr accepted the fr |
Hey everyone, |
Hello everyone, |
No meu caso consegui resolver o mesmo problema, indo em cima do documento js e com o lado direito do mouse cliquei em Abrir no terminal integrado. E voltou a funcionar no meu. Espero ter ajudado. |
can you write in english please? |
|
This Worked for me, thanks |
Guys I had exactly the same problem and I managed to solve it in my case. When I wrote in VS Code terminal "node script.js" - I had this error. BUT! When I just wrote there "node ./script.js" it perfectly worked. |
@123je that's not the accurate solution i guess, cz mine didn't worked |
Ran into a similar issue with nodemon running through docker, it'd be worth checking that your "main" file in your package.json is configured to point at the correct entry point in package.json "main": "server.js", |
Another possible reason: I had a file called
On my server, this version was not installed, resulting in a similar error. |
Try with a different node version. i tried with node 14.10.0 it's working. |
No terminal chamar o arquivo --> node arquivo.js |
the solution is pretty easy. in windows go to the |
I recommend deleting the folder: node_modules and then running the command: npm install, that works. |
Reinstalling node modules right in the directory specified in the Error message helped in my case! |
I faced the same problem, the reason was that project path contains the letter "&" |
Problem solved with : Then try to run: ----------It should work by now------------- |
this helps for me |
To solve this issue.
|
In Kali i had to run 'npm i'. |
Anyone who's still looking for a fix running git clean worked for me. |
TY so much sir! I have spent 2 hours for this problem until I found your answer :) p/s: just make sure your parents folder name dont have the "&" |
hey guys,my problem happened when i install some package but throw error,maybe it work if you install the package successfully. |
This one worked for me! I had been experimenting with different build setups and I think removing a stray cache likely did the trick. Thank you thank you thank you! |
Delete the node_modules folder. Worked smoothly for me. |
I had the same error using 16.13.0. Fortunately, I tried that practice again with new version * 21.4.0 (Currently using 64-bit executable) and it works well. |
I had the same issue on Linux and MacOS after migrating from
In case you have this new error:
Removing |
Version
No response
Platform
Windows Powershell
Subsystem
Powershell
What steps will reproduce the bug?
Downloading node.js > Opening the Windows Powershell > Selecting the Folder > node install. # Not working!
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'C:__MACOSX\hashlips\install'
←[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:778:27)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: []
}
Additional information
The text was updated successfully, but these errors were encountered: