I've tried with everything, typings -g, cache clean, update, sudo. Someone please can help me? I few days ago this was working.
This is what I've tried:
Related
I am working on building the marketplace dapp from dapp university on Youtube. While running truffle compile it gives me the following error
Error: Cannot find module 'babel-register'
In this answer: Error: Cannot find module 'babel-register' someone suggested that I delete package-lock and do npm install again.
but when I searched up how to delete package-lock,I found this Deleting `package-lock.json` to Resolve Conflicts quickly which pretty much says that "don't ever delete package-lock.json."
I am a beginner, any help is appreciated.
Keep in mind that some of the dependencies in that source code are outdated.
I avoided this specific issue by running npm audit fix --force after npm install
I then ran npm install -g npm-check-updates to update all of the packages.
ncu -u will also upgrade those dependecies directly in the json.
Finally, npm update
truffle compile should now work as expected.
Good luck in your blockchain development! I'm just starting myself :)
When I remove some extra files in my project i found an error. It create a much of errors
in my project
Following picture is showing as
I did't have any idea to solve it help me to solve the issue.
You removed the file "CustomerList.vue" but you are importing it from another place. Just remove the import.
Delete node-modules folder.
run command npm cache clean --force.
run command npm install.
Finally install the package again with npm install your-package-name.
I am trying to install this script. I am trying to run npm install command. But this is not working. This is stuck after message idealTree:color-convert: timing idealTree:node_modules/c.
Could anyone help me to install this script ?
I tried it myself and had the same issue.
There might be an issue on the author's end or with some dependency.
Try contacting the author of the package to investigate the issue.
You can create an issue here: https://github.com/creativetimofficial/vue-notus/issues
nice you can delete your node modules and try again...
or you can try npm cache clean
if both fails you can try yarn...
Generally when I run npm install sometimes my pc crashes and shows the screen like the image below. I’ve tried removing both the package-lock.json and node_modules. I’ve also run the commands npm rebuild -g and npm cache clean -f.
2 days ago I reinstalled my pc to fabric settings and it still doesn’t help.
I’m using WSL, nodejs v12.10.0 and npm 6.10.3.
Anyone knows what’s up and could help me?
https://imgur.com/a/762AdrR
Update
I've been using yarn instead of npm since 3 months back and this problem has never occured again. So if you are experiencing the same problem as me, try it out.
this is the error! but I don't know why!
Try this code to install multer. It worked for me.
npm install #types/multer