Thursday, March 19, 2015

Simple fix for Module did not self-register

If you see the following error ...

Module did not self-register Error


[18:28:09] Error in plugin 'gulp-mocha'
Message:
    Module did not self-register.
Stack:
Error: Module did not self-register.
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at bindings (/Users/lex/myproject/node_modules/jsdom/node_modules/contextify/node_modules/bindings/bindings.js:76:44)
    at Object. (/Users/lex/myproject/node_modules/jsdom/node_modules/contextify/lib/contextify.js:1:96)
    at Module._compile (module.js:460:26)
    at Module._extensions..js (module.js:478:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/lex/myproject/node_modules/6to5/lib/6to5/api/register/node.js:113:7)
[18:28:10] Finished 'scripts' after 21 s


Simple fix

... simply remove the node_modules directory and reinstall your npm modules.

/Users/lex/myproject/ $ rm -rf node_modules/
/Users/lex/myproject/ $ npm install


References

https://www.npmjs.com/


Share this article



This work is licensed under the Creative Commons Attribution 3.0 Unported License.

131 comments:

  1. I've add the same issue because I installed to modules as sudo...

    ReplyDelete
  2. I've add the same issue because I installed to modules as sudo...

    ReplyDelete
  3. web application development company in India
    many articles to this tpic. Nothing ifnorative and worthwhile. Was happy to readb ur one and will surely implement it. Thank you very much, 4 updates and lesson taught this article. If achieve success, will contact u...very nice and thanks...love u all…continue write such article

    ReplyDelete
  4. Really valuable informationj this, nee to more attention for this informathion. web application development services
    best software development company in india

    ReplyDelete
  5. Thanks for your great post.We are the leading seo company in mumbai. Hire our seo agency in mumbai today for seo services in mumbai

    ReplyDelete

  6. I would prefer to invite such an incredible author such as you to our web site to envision and power net and mobile app development is leading the technological trade. Also visit: iPhone app development company

    ReplyDelete
  7. Our company is a one-stop solution for all your needs related to web designing. We have been in this business from past many years and are one of the web designing company in Chandigarh . In the times, where website is an essential requirement for your business, you should not settle for anything but the best. We specialize in PHP website development, Magento website development, website optimization, WordPress website development and custom website designing. We cater to the fraternity of clients and provide them websites according to their business needs and our websites have been loved by the Aspiring businesses, Emerging industry leaders and quality driven clients hire us to build effective websites for them to engage in digital world in Chandigarh and all across the world.

    web development company in Chandigarh

    ReplyDelete
  8. As one of the leading Web designing company in Mohali, we cater to the fraternity of the clients and provide them the services which suits best to their requirements. We analyze the situation of every business deeply, understand their purpose and comprehend with it accordingly. Our services include web designing, Logo Design, web development and search engine optimization. We provide websites to our clients which are very cost efficiently. We work in all the industries from fashion to Entertainment to health care and real estate. When it comes to your business you should not take chances but rather go for the best and we at PPC Fame provide you with the best resolutions. We are the first preference for the industry leaders and well settled businesses when it comes to best Web designing company in Mohali.
    Web designing company in Mohali

    ReplyDelete
  9. NFT marketplace is the big topic circulating in Crypto world. Start your NFT marketplace with Maticz the leading NFT marketplace development company, launch your NFT marketplace and make profits.

    ReplyDelete
  10. Solana has become the recent famous blockchain due to its benefits and many crypto users are focusing on Solana NFTs. Launch your Solana based NFT marketplace with Maticz the leading solana NFT development company.

    ReplyDelete
  11. Maticz being the leading NFT Marketplace development company provides you NFT Marketplace development services on various blockchains such as Cardano, Solana, Ethereum, Binance smart chain, etc.
    Maticz is the best place to offer you outstanding NFT Marketplace development services, Connect with our experts now.
    NFT Marketplace development

    ReplyDelete
  12. Launching an NFT Marketplace like OpenSea is one of the best revenue-generating platforms. Maticz, a top-rated NFT Marketplace Development Company, will develop an OpenSea clone for profitable trading with complicated security layers. Our bug-free OpenSea clone script comes with market-leading features and allows platform customization.

    ReplyDelete
  13. I really like your blog. Great article. You should also check out this article. what is your greatest strength answer samples as a student

    ReplyDelete
  14. Non-Fungible Tokens(NFTs) are becoming a buzzword in the blockchain space due to their fruitful performance. Likewise, the NFT Marketplace like Rarible gets a huge fan base in the crypto sphere. Rarible is a community-owned NFT Marketplace that allows users to mint and trade NFTs such as metaverse, music, arts, games & photography without coding skills. This volcanic momentum of the Rarible leads the launching of Rarible Clone NFT Marketplace into a million-dollar business.

    ReplyDelete
  15. Current Good Manufacturing Practice (cGMP) is imposed by US Food and Drug Administration (FDA). cGMPs provide for systems that assure proper design, monitoring, and control of manufacturing processes and facilities. Adherence to the cGMP regulations assures the identity, strength, quality, and purity of drug products by requiring that manufacturers of medications adequately control manufacturing operations. Visit cgmp certification france

    ReplyDelete
  16. Thanks for sharing a nice blog. Your post of information was very clear. I am really happy to read this post. Suffescom Solutions, the leading White label NFT marketplace Script Development Company, offers premium OpenSea Clone Script Development Solutions that assist people all over the world in reducing the burden of developing a profitable marketplace similar to OpenSea.

    ReplyDelete
  17. Our Cardiac Nursing Online Assignment assistance experts have obtained a higher Degree and are experienced medical professionals who can aid students with writing assignments on these and other subjects. Cardiac Nursing Assignment Help creates assignments by completing extensive study and applying effective strategies. Cardiac Nursing Assignment Help

    ReplyDelete
  18. Hi, I am John Smith I am Web Developer, It is an amazing blog thanks for the sharing the blog. Frantic infotech provide the ios ui ux app development such as an information about software development for costumer service. Franti infotech also provide the java web development. The development of advanced web applications is Orient Software’s specialty and we will successfully fulfill all your web application development requirements, from small-sized to wider-ranged projects. We Also do work multiple platforms like:
    mobile app development services
    android app development on mobile
    ios app development services
    react native app development
    ionic app development company
    flutter app development company
    php web development services in india

    ReplyDelete
  19. This post is genuinely a good one. It helps new net users, who are wishing in favour of blogging. illinois institute of technology graduate programs

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Our subject matter experts have extensive knowledge and experience in a wide range of fields, and they consistently provide outstanding results. They provide professional Business Management Assignment Help as well as online business management assignment help. They could be able to assist students with research articles and writings in business.

    ReplyDelete
  22. You can acquire Childcare Assignment Help online because ensuring conformity before the timeline is the best approach to get what you need at a decent cost. We have a system for answering difficult questions in a short amount of time in order to assist students get better grades. Our childcare assignment counsellors are available for assistance 24 hours a day, 7 days a week.

    ReplyDelete
  23. The future is cross-chain and you can do that now a token bridge. A cross-chain bridge let's you launch your token on multiple blockchains and allow users send your tokens between chains. Launch your token on any EVM blockchain with our cross-chain bridge.Build a cross chain bridge

    ReplyDelete
  24. You can create a TRC20 or TRC721 Token through our Tron token development services and they will work seamlessly with their Ethereum counterparts.

    ReplyDelete
  25. Create your own DEX with like Uniswap our Uniswap clone script. Get decentralized exchange development from BlockchainX experts.Uniswap clone script

    ReplyDelete
  26. The migration platform works similarly to a DEX without the Automated Market Maker system. The New or V2 tokens are stored inside the migration smart contract and users can simply connect their web3 wallets to trustlessly migrate their tokens.Token Migration

    ReplyDelete
  27. Tron token development is your best choice if you want all the functionalities of Ethereum, without the outrageous gas fees. Our Tron token development services allow you to create and deploy tokens on the tron network in minutes

    ReplyDelete
  28. Hey, reading your blog is really good and interesting. Keep writing more. You're a wonderful blogger, one of the most effective that I've seen. I also remember one such article about Boost Your Brand With White-label Platform. It's Really awesome!

    ReplyDelete


  29. Amazing write-up! I liked the flow of the blog, it was very informative. Moreover, it made me feel like i read this blog somewhere else, which i hadn't. It was such a great share that i was able to connect to it- Thanks for this great Blog - LBM Blockchain Solutions

    ReplyDelete
  30. A Professional ISO consultancy company in Coimbatore - ENN Consultancy. We provide iso 9001, iso 22000, iso 14001 consultants Services, and Training in Salem, Erode, Tirupur, Trichy, Madurai, Karur, and Chennai.
    Visit EnnConsultancy

    ReplyDelete
  31. This comment has been removed by the author.

    ReplyDelete
  32. Our Dapp development services help you create robust and scalable decentralized applications. As a Dapp development company with several years of experience, we provide you with industry-leading blockchain architects, smart contract developers, and web3 developers. DApp Development Solutions
    Build decentralized app

    ReplyDelete
  33. Thanks for sharing. We presenting social media marketing services in michigan at best price. We will help to drive your ideal audience right to you.

    ReplyDelete
  34. Thanks for sharing. We are leading Digital Marketing Agency in Los Angeles. We requires a team of specialists with expertise in all facets of the digital market and web design.

    ReplyDelete
  35. This comment has been removed by the author.

    ReplyDelete
  36. Hi there, thanks for sharing. Can be useful for people. This is Alfred working on creating NFT websites in Nevada.

    ReplyDelete
  37. CarDekhen is India's leading car search venture that helps users buy cars that are right for them. The company has tie-ups with many auto manufacturers, more than 4000 car dealers and numerous financial institutions to facilitate the purchase of vehicles.

    ReplyDelete
  38. A concept car (also known as a concept vehicle, show vehicle or prototype) is a made to showcase new styling and/or new technology

    ReplyDelete
  39. An unpredictable conduct could also be caused by a painful injury or illness.read more on k9nerds

    ReplyDelete
  40. Your blog is a captivating journey through insightful thoughts and eloquent expression. Each post is a testament to your profound understanding and passion for the subject matter. Your words resonate deeply, leaving readers both enlightened and inspired. Thank you for sharing your unique perspective and enriching the online community.

    business consultant in uae

    ReplyDelete
  41. I cannot thank Arab Business Consultant enough for their invaluable guidance and support. Their unmatched expertise in navigating the complexities of the UAE Free Zone has been instrumental in driving our enterprise towards success.

    ReplyDelete
  42. Setting up shop in Abu Dhabi Free Zone offers unparalleled advantages for businesses looking to thrive in the region. From strategic location to tax incentives, it's a hub for growth and innovation.

    ReplyDelete
  43. Nice informataion great thanks for sharing
    Looking a best car rental se servies near you like self drive car rental in ghaziabad

    ReplyDelete
  44. Nice Blog Thankx for sharing this information
    If you're seeking garage door installers in Pittsburgh pa and its vicinity, your search ends here. Reach out to A1 Garage Door Experts for top-notch same-day installation services at competitive rates.

    ReplyDelete