Skip to content
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

Module not found Error: Can't resolve 'dns' #38

Closed
dlarr opened this issue Nov 3, 2017 · 8 comments
Closed

Module not found Error: Can't resolve 'dns' #38

dlarr opened this issue Nov 3, 2017 · 8 comments

Comments

@dlarr
Copy link

dlarr commented Nov 3, 2017

Hello,

I am trying to use this library (many thanks by the way)

But as soon as I use the function ics.createEvent() I get a transpile error (see below)

Could you please help me overcome this.

Best regards.

ERROR in ./node_modules/isemail/lib/index.js
Module not found: Error: Can't resolve 'dns' in 'C:_dev\nsi\colibri\client\node_modules\isemail\lib'
resolve 'dns' in 'C:_dev\nsi\colibri\client\node_modules\isemail\lib'
Parsed request is a module
using description file: C:_dev\nsi\colibri\client\node_modules\isemail\package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\node_modules\isemail\package.json (relative path: ./lib)
resolve as module
C:_dev\nsi\colibri\client\node_modules\isemail\lib\node_modules doesn't exist or is not a directory
C:_dev\nsi\colibri\client\node_modules\isemail\node_modules doesn't exist or is not a directory
C:_dev\nsi\colibri\client\node_modules\node_modules doesn't exist or is not a directory
C:_dev\nsi\node_modules doesn't exist or is not a directory
C:_dev\node_modules doesn't exist or is not a directory
C:\node_modules doesn't exist or is not a directory
looking for modules in C:_dev\nsi\colibri\client\node_modules
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./node_modules)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./node_modules/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\node_modules\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\node_modules\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\node_modules\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\node_modules\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\node_modules
using description file: C:_dev\nsi\colibri\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\package.json (relative path: ./node_modules)
using description file: C:_dev\nsi\colibri\package.json (relative path: ./node_modules/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\node_modules\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\node_modules\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\node_modules\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\node_modules\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\node_modules
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./node_modules)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./node_modules/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\node_modules\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\node_modules\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\node_modules\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\node_modules\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
looking for modules in C:_dev\nsi\colibri\client\src
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src)
using description file: C:_dev\nsi\colibri\client\package.json (relative path: ./src/dns)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:_dev\nsi\colibri\client\src\dns.js doesn't exist
as directory
C:_dev\nsi\colibri\client\src\dns doesn't exist
[C:_dev\nsi\colibri\client\node_modules\isemail\lib\node_modules]
[C:_dev\nsi\colibri\client\node_modules\isemail\node_modules]
[C:_dev\nsi\colibri\client\node_modules\node_modules]
[C:_dev\nsi\node_modules]
[C:_dev\node_modules]
[C:\node_modules]
[C:_dev\nsi\colibri\client\node_modules\dns]
[C:_dev\nsi\colibri\node_modules\dns]
[C:_dev\nsi\colibri\client\node_modules\dns.ts]
[C:_dev\nsi\colibri\node_modules\dns.ts]
[C:_dev\nsi\colibri\client\node_modules\dns.js]
[C:_dev\nsi\colibri\node_modules\dns.js]
[C:_dev\nsi\colibri\client\node_modules\dns]
[C:_dev\nsi\colibri\node_modules\dns]
[C:_dev\nsi\colibri\client\node_modules\dns]
[C:_dev\nsi\colibri\client\node_modules\dns.ts]
[C:_dev\nsi\colibri\client\node_modules\dns.js]
[C:_dev\nsi\colibri\client\node_modules\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns]
[C:_dev\nsi\colibri\client\src\dns.ts]
[C:_dev\nsi\colibri\client\src\dns.js]
[C:_dev\nsi\colibri\client\src\dns]
@ ./node_modules/isemail/lib/index.js 5:12-26
@ ./node_modules/joi/lib/types/string/index.js
@ ./node_modules/joi/lib/index.js
@ ./node_modules/ics/dist/schema/index.js
@ ./node_modules/ics/dist/pipeline/validate.js
@ ./node_modules/ics/dist/pipeline/index.js
@ ./node_modules/ics/dist/index.js
@ ./node_modules/ics/index.js
@ ./src/app/shared/service/tools.service.ts
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi ./src/main.ts

@adamgibbons
Copy link
Owner

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!

@dlarr
Copy link
Author

dlarr commented Nov 7, 2017

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.

@AaronKow
Copy link

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.

@adamgibbons
Copy link
Owner

adamgibbons commented Feb 20, 2018 via email

@imakatman
Copy link

Any update on this?

@adamgibbons adamgibbons reopened this Jul 12, 2018
@oskari
Copy link

oskari commented Oct 22, 2018

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.

@FauricioValencia
Copy link

@AnithaYerra
Copy link

AnithaYerra commented Sep 11, 2020

[ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants