Giter Club home page Giter Club logo

Comments (8)

adamgibbons avatar adamgibbons commented on June 6, 2024 8

Hi @dlarr - it seems as though you're referencing a module dns that node can't find. Did you include it in your package.json? I am not familiar with your project or the Windows environment, but I don't believe your issue is related to the ics project so I'm closing this issue. Sorry I can't be of more help and good luck!

from ics.

AaronKow avatar AaronKow commented on June 6, 2024 8

Hi,
I have similar issue when I tried to use this package in one of my project with Webpack.
As I refer from the module "joi", some dev have similar issue #665.
Luckily, the issue can be resolved by stub the modules by:

node: {
    dns: 'empty',
    net: 'empty'
}

p.s: I have included net, because it can't resolve in that same project.

from ics.

imakatman avatar imakatman commented on June 6, 2024 7

Any update on this?

from ics.

dlarr avatar dlarr commented on June 6, 2024

Hi,

I really think there's a dependency problem, related to isemail, using dns. This error only occurs when I use ics, and ics librairy methods. We had to move on and we used ics-js lib instead, which is a shame because your lib is a lot easier and nicer to use. I didnt want to add dns librairy in package.json because i have no use for it.

Anyway, thank for your reply and your time :)

Best regards.

from ics.

adamgibbons avatar adamgibbons commented on June 6, 2024

from ics.

oskari avatar oskari commented on June 6, 2024

This problem is resolved on isemail 3.x already and Joi has already updated their package.json year ago, the problem is ics depending on old version of Joi.

from ics.

FauricioValencia avatar FauricioValencia commented on June 6, 2024

the steps of this link work for me:
https://stackoverflow.com/questions/51541561/module-not-found-cant-resolve-dns-in-pg-lib/51781959

from ics.

AnithaYerra avatar AnithaYerra commented on June 6, 2024

[ error ] ./node_modules/cacheable-lookup/source/index.js
┃ Module not found: Can't resolve 'dns' in '/Users/anitha/Desktop/anithabuildapp/node_modules/cacheable-lookup/source'
┃ Could not find files for /index in .next/build-manifest.json
┃ ModuleNotFoundError: Module not found: Error: Can't resolve 'dns' in '/Users/anitha/Desktop/anithabuildapp/node_modules/cacheable-lookup/source'
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/Compilation.js:823:10
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:397:22
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:130:21
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:224:22
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/neo-async/async.js:2825:7
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/neo-async/async.js:6886:13
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:214:25
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:213:14
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:285:5
┃ at eval (eval at create (/Users/anitha/Desktop/anithabuildapp/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:285:5
┃ at eval (eval at create (/Users/anitha/Desktop/anithabuildapp/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:285:5
┃ at eval (eval at create (/Users/anitha/Desktop/anithabuildapp/node_modules/tapable/lib/HookCodeFactory.js:33:10), :27:1)
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43
┃ ModuleNotFoundError: Module not found: Error: Can't resolve 'dns' in '/Users/anitha/Desktop/anithabuildapp/node_modules/cacheable-lookup/source'
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/Compilation.js:823:10
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:397:22
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:130:21
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:224:22
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/neo-async/async.js:2825:7
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/neo-async/async.js:6886:13
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/webpack/lib/NormalModuleFactory.js:214:25
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:213:14
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:285:5
┃ at eval (eval at create (/Users/anitha/Desktop/anithabuildapp/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:285:5
┃ at eval (eval at create (/Users/anitha/Desktop/anithabuildapp/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/Resolver.js:285:5
┃ at eval (eval at create (/Users/anitha/Desktop/anithabuildapp/node_modules/tapable/lib/HookCodeFactory.js:33:10), :27:1)
┃ at /Users/anitha/Desktop/anithabuildapp/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43
┃ [ event ] build page: /next/dist/pages/_error

from ics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.