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

internal/modules/cjs/loader.js:983 throw err; ^ Could you help me with this code? #2644

Closed
duol45 opened this issue Apr 24, 2020 · 92 comments
Closed

Comments

@duol45
Copy link

duol45 commented Apr 24, 2020

internal/modules/cjs/loader.js:983
throw err;
^

Error: Cannot find module 'D:\Bryan Durán\Desktop\chat-javascript-fullstack-master\index.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)

at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74

:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []

@duol45 duol45 changed the title internal/modules/cjs/loader.js:983 throw err; ^ internal/modules/cjs/loader.js:983 throw err; ^ Could you help me with this code? Apr 24, 2020
@Romitou
Copy link

Romitou commented Apr 24, 2020

Hello, can you give more information?

@prasanthnrkrish
Copy link

I also get the same error on running
cd ios && pod install && cd ../ && react-native run-ios

Trying to get the react native up and running.

@lish90
Copy link

lish90 commented May 13, 2020

Hello,

I'm having the same problem as stated above. When type {node index.js } I get the error below, I tried number of solutions ie uninstalled node and npm then reinstalled then back separately. I'm still getting the same error, help needed.

The error:

interactive-SVG-image git:(master) ✗ node index.js
internal/modules/cjs/loader.js:983
 throw err;
 ^

Error: Cannot find module '/Users/lish/code/JavaScript_projects/interactive-SVG-image/index.js'
   at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
   at Function.Module._load (internal/modules/cjs/loader.js:862:27)
   at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
   at internal/main/run_main_module.js:18:47 {
 code: 'MODULE_NOT_FOUND',
 requireStack: []
}

@shubhMjain
Copy link

delete node module and install again

@junhwong
Copy link

same errors:

...

> core-js-pure@3.6.5 postinstall /***/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> ejs@2.7.4 postinstall /***/node_modules/ejs
> node ./postinstall.js

internal/modules/cjs/loader.js:969
  throw err;
  ^

Error: Cannot find module '/***/node_modules/ejs/postinstall.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []

Tried many ways:

  • rm -rf node_modules
  • rm -f package-lock.jso
  • npm cache clean --force
  • reinstall nodejs
  • ...

@junhwong
Copy link

versions:
npm: '6.14.5',
ares: '1.16.0',
brotli: '1.0.7',
cldr: '37.0',
http_parser: '2.9.3',
icu: '67.1',
llhttp: '2.0.4',
modules: '72',
napi: '6',
nghttp2: '1.41.0',
node: '12.18.1',
openssl: '1.1.1g',
tz: '2019c',
unicode: '13.0',
uv: '1.38.0',
v8: '7.8.279.23-node.38',
zlib: '1.2.11'

@Tetr0
Copy link

Tetr0 commented Jul 4, 2020

Work for me:
If you are trying to work with node (backend) & react native (fronted) try:

         1.  Create new main folder (mkdir rootProjectName)
         2. from ProjectName/backend > init the node side (npm init --yes )
         3. from ProjectName/> init the react side ( react-native init fronted )

:)

@shilpaanthati6
Copy link

Hello,

I'm having the same problem as stated above. When type {node index.js } I get the error below, I tried number of solutions ie uninstalled node and npm then reinstalled then back separately. I'm still getting the same error, help needed.

The error:

interactive-SVG-image git:(master) ✗ node index.js
internal/modules/cjs/loader.js:983
 throw err;
 ^

Error: Cannot find module '/Users/lish/code/JavaScript_projects/interactive-SVG-image/index.js'
   at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
   at Function.Module._load (internal/modules/cjs/loader.js:862:27)
   at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
   at internal/main/run_main_module.js:18:47 {
 code: 'MODULE_NOT_FOUND',
 requireStack: []
}

I do have the same issue .I tried many solutions ,I am feeling frustrated to solve this 🤣

@Tetr0
Copy link

Tetr0 commented Jul 13, 2020

Example index.js as module:


var productList = [{name: "banana"},{name: "apple"}
];

module.exports = { productList };


@micstudent
Copy link

hhhhhhhhhhhhhhhhhhhhhhhhhre
**Same Error! help**

@micstudent
Copy link

Hello,
I'm having the same problem as stated above. When type {node index.js } I get the error below, I tried number of solutions ie uninstalled node and npm then reinstalled then back separately. I'm still getting the same error, help needed.
The error:

interactive-SVG-image git:(master) ✗ node index.js
internal/modules/cjs/loader.js:983
 throw err;
 ^

Error: Cannot find module '/Users/lish/code/JavaScript_projects/interactive-SVG-image/index.js'
   at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
   at Function.Module._load (internal/modules/cjs/loader.js:862:27)
   at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
   at internal/main/run_main_module.js:18:47 {
 code: 'MODULE_NOT_FOUND',
 requireStack: []
}

I do have the same issue .I tried many solutions ,I am feeling frustrated to solve this 🤣

yes i Fix it

  1. npm cache clean --force

  2. delete node_modules folder

  3. delete package-lock.json file

  4. npm install

@adogam
Copy link

adogam commented Jul 28, 2020

I am struggling with this same issue. I followed the fix as well and it is not working for me. I am on windows 10 if that makes any difference. It seems to not be downloading the complete fileset of Node. Any help would be amazing.

@vinodkv007
Copy link

same issue, tried all of the solutions mentioned above, but no use.
``
C:\Users\vinod\server>npm start

server@1.0.0 start C:\Users\vinod\server
nodemon expGqlServer.js

[nodemon] 2.0.4
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node expGqlServer.js
internal/modules/cjs/loader.js:968
throw err;
^

Error: Cannot find module '../../temp'
Require stack:

  • C:\Users\vinod\server\resolvers\post.js
  • C:\Users\vinod\server\node_modules@graphql-toolkit\file-loading\index.cjs.js
  • C:\Users\vinod\server\node_modules\merge-graphql-schemas\index.cjs.js
  • C:\Users\vinod\server\expGqlServer.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (C:\Users\vinod\server\resolvers\post.js:2:14)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\vinod\server\resolvers\post.js',
    'C:\Users\vinod\server\node_modules\@graphql-toolkit\file-loading\index.cjs.js',
    'C:\Users\vinod\server\node_modules\merge-graphql-schemas\index.cjs.js',
    'C:\Users\vinod\server\expGqlServer.js'
    ]
    }
    [nodemon] app crashed - waiting for file changes before starting... ``

@adogam
Copy link

adogam commented Aug 8, 2020

same issue, tried all of the solutions mentioned above, but no use.
``
C:\Users\vinod\server>npm start

server@1.0.0 start C:\Users\vinod\server
nodemon expGqlServer.js

[nodemon] 2.0.4
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node expGqlServer.js
internal/modules/cjs/loader.js:968
throw err;
^

Error: Cannot find module '../../temp'
Require stack:

  • C:\Users\vinod\server\resolvers\post.js
  • C:\Users\vinod\server\node_modules@graphql-toolkit\file-loading\index.cjs.js
  • C:\Users\vinod\server\node_modules\merge-graphql-schemas\index.cjs.js
  • C:\Users\vinod\server\expGqlServer.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (C:\Users\vinod\server\resolvers\post.js:2:14)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\vinod\server\resolvers\post.js',
    'C:\Users\vinod\server\node_modules@graphql-toolkit\file-loading\index.cjs.js',
    'C:\Users\vinod\server\node_modules\merge-graphql-schemas\index.cjs.js',
    'C:\Users\vinod\server\expGqlServer.js'
    ]
    }
    [nodemon] app crashed - waiting for file changes before starting... ``

I fixed the issue by using and trying different versions of node. It took a while to find the right one but I eventually did.

@vinodkv007
Copy link

I fixed the issue, apparently whenever you change your project directory some node modules will be imported automatically by node.js and along with it, some file paths inside the project will be changed.
In my case when I moved my project to a different folder,
../temp
was changed to,
../../temp
I deleted the ../ and now it's working fine.

@mrrobotja
Copy link

Where did you find the temp file?

@yonas1104
Copy link

node js can only run app.js like you execute main function in other programming languages!

@freddyarh
Copy link

Thanks guys, this blog helped me so much to solve my problem with node!

@sefrem
Copy link

sefrem commented Aug 26, 2020

To anyone who stumbled upon this issue.
All the above haven't worked for me, while deleting all the whitespaces from the path worked perfectly.
As i see, topicstarter also has a whitespace in the path. This might've been the issue.

@maherbenissa
Copy link

maherbenissa commented Sep 10, 2020

First, check the path of your current folder under terminal
else you will just run this command line :

rm -rf node_modules package-lock.json && npm install && npm start

@allocious
Copy link

Am also facing the same issue... here is the solution from my end.
if index.js not in our root folder means, we will getting error, once you move to root folder then server will be running

@naimur978
Copy link

Am also facing the same issue... here is the solution from my end.
if index.js not in our root folder means, we will getting error, once you move to root folder then server will be running

Worked for me.

@shilpaanthati6
Copy link

shilpaanthati6 commented Sep 12, 2020 via email

@barhouum7
Copy link

I got faced the same issue and I solved it finally.
In my case I was performing git push heroku main which also main isn't the default branch.
I had to go to master branch first(default branch), merge the code with my other branch and then heroku git:remote -a <repoName> and git push heroku master.

HOPE this can help!

@abhiraizada
Copy link

Oh my god!! i was struggling on this, tried everything, in the end, found out my file name was sever.js

@nimmyranjee
Copy link

Create the .js file in the root folder .

@Dezzign
Copy link

Dezzign commented Mar 18, 2022

Here's what ended up working for me (Strapi v3.6.8)

None of the above worked ...
(npm cache clean --farce, deleting node_modules, package-lock.json etc)

Neither did moving server.js files around etc.

Bizarrely, just using this start command worked: strapi start

Somehow that's different to running: node server.js etc

Here's my package.json start scripts for reference:

"scripts": {
      "develop": "strapi develop",
      "development": "cross-env NODE_ENV=development npm run strapi develop",
      "start": "strapi start",
      "build": "cross-env NODE_ENV=production npm run build",
      "gcp-build": "strapi build",
      "strapi": "strapi start"
  },

@charu510
Copy link

Simply use the cd command for going to the specific directory where the script is written. It will have to be done manually as the command is not being able to direct properly. Once done the script runs successfully. This method worked for me.

@Ravi310893
Copy link

internal/modules/cjs/loader.js:983 throw err; ^

Error: Cannot find module 'D:\Bryan Durán\Desktop\chat-javascript-fullstack-master\index.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)

at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74

:12) at internal/main/run_main_module.js:18:47 { code: 'MODULE_NOT_FOUND', requireStack: []

check the address when giving command like if you giving node .\module , check if its inside src and provide src before module name like node .\src\module

@ShahnwazA78
Copy link

first check whether in the json file the dependencies you are require for is mentioned there or not after your installation, in my case it was not listed there so i double check and it was not listed as just becouse i did one silly mistake that the location to install dependencies is different where the src folder so that is why the dependencies were not listed there i just reinstall and its working fine.

@yandyestrada
Copy link

Hello I having issues with this please help

node:internal/modules/cjs/loader:1078
throw err;
^

Error: Cannot find module '/Users/yandyestrada/ethers_examples/start'
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v18.14.2
yandyestrada@Yandys-MBP-2 ethers_examples %

@RamiE965
Copy link

Hello I having issues with this please help

node:internal/modules/cjs/loader:1078 throw err; ^

Error: Cannot find module '/Users/yandyestrada/ethers_examples/start' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v18.14.2 yandyestrada@Yandys-MBP-2 ethers_examples %

I have the same exact issue, did you find a fix?

@KRISHNO-001
Copy link

KRISHNO-001 commented Mar 24, 2023

Check if Nodejs directory(generally -> C:\Program Files\nodejs) location is added in the system variables or not, sometimes it gets removed by mistake if not then add and restart everything
Hope this fixes the issue

@Farhaan-Hash
Copy link

Am also facing the same issue... here is the solution from my end. if index.js not in our root folder means, we will getting error, once you move to root folder then server will be running

This was simple thanks. Worked

@aastha0326
Copy link

for Linux users: rm -rf node_modules package-lock.json && npm install && npm start
This worked for me

@Deep7452
Copy link

Deep7452 commented Jul 30, 2023

image

This is helpful for this issue

Step 1. press Window +r
Step 2. And type %AppData% and press Enter
Step 3. you find there npn folder ...Delete this folder and run the command "npm install -g npm@latest"

And if you can do this your project again run smoothly.
Thank you

@domajor
Copy link

domajor commented Sep 1, 2023

Ubuntu Server 20.04 LTS

/init.js:27

SyntaxError: Unexpected token '.'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47

Node.js v18.17.1

:( :( :(

@ljharb
Copy link
Member

ljharb commented Sep 1, 2023

@domajor yours is probably just JS syntax that node 18 doesn't understand.

@domajor
Copy link

domajor commented Sep 1, 2023

Ubuntu reinstalled, node.js reinstalled.
rm -rf node_modules package-lock.json && npm install && npm start ; was established ,

node init.js
internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module 'dateformat'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/root/pool/lib/logger.js:11:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)

@domajor
Copy link

domajor commented Sep 1, 2023

I tried 1 or 2 months ago and the working system died after updating, nothing is working

@domajor
Copy link

domajor commented Sep 1, 2023

It worked when the server was restarted and updated, I wonder how long it will work.

@domajor
Copy link

domajor commented Sep 3, 2023

nodejs :) ubuntu server 20.04
[master] Starting Cryptonote Node.JS pool version v2.0.0
[master] Invalid pool wallet address in configuration file (poolServer.poolAddress)

[master] Starting Cryptonote Node.JS pool version Oguzhan
[master] yagdi yagmur cakti simsek , bendemi sair olsam acep (OzanServer.FevziAddress)

unresolved error
Does anyone have any advice?
tavsiyesi olan var mı ?

@domajor
Copy link

domajor commented Sep 25, 2023

[master] Starting Cryptonote Node.JS pool version v2.0.0
(node:2240) UnhandledPromiseRejectionWarning: Error: The client is closed

I'm so tired, I have no hope :( I'm using Ubuntu Server 20

@leyroy
Copy link

leyroy commented Sep 26, 2023

[master] Starting Cryptonote Node.JS pool version v2.0.0 (node:2240) UnhandledPromiseRejectionWarning: Error: The client is closed

I'm so tired, I have no hope :( I'm using Ubuntu Server 20

this kind of is breaking me 😢

@kabornblack
Copy link

I am facing some issues when trying to run sass: I have tried all the above mentioned solutions and nothing seems to work so far.

PS C:\Users\admin\Desktop\IT\JONAS CSS & SASS\Natours-starter> npm run compile:sass

natours-starter@1.0.0 compile:sass
node-sass sass/main.scss starter/css/style.css

'SASS\Natours-starter\node_modules.bin' is not recognized as an internal or external command,
operable program or batch file.
node:internal/modules/cjs/loader:998
throw err;
^

Error: Cannot find module 'C:\Users\admin\Desktop\IT\node-sass\bin\node-sass'
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v18.12.1
PS C:\Users\admin\Desktop\IT\JONAS CSS & SASS\Natours-starter>

@domajor
Copy link

domajor commented Oct 2, 2023

ubuntu server
node init.js
(node:40292) UnhandledPromiseRejectionWarning: Error: The client is closed
Commander._RedisClient_sendCommand
errors continue

@YoussefElogail
Copy link

I faced this problem today and it was because of the path name. It was called redux and it was working. Then I changed the file to redux & react-redux and the problem appeared. The problem was in & for me.

@YoussefElogail
Copy link

I am facing some issues when trying to run sass: I have tried all the above mentioned solutions and nothing seems to work so far.

PS C:\Users\admin\Desktop\IT\JONAS CSS & SASS\Natours-starter> npm run compile:sass

natours-starter@1.0.0 compile:sass
node-sass sass/main.scss starter/css/style.css

'SASS\Natours-starter\node_modules.bin' is not recognized as an internal or external command, operable program or batch file. node:internal/modules/cjs/loader:998 throw err; ^

Error: Cannot find module 'C:\Users\admin\Desktop\IT\node-sass\bin\node-sass' at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load (node:internal/modules/cjs/loader:841:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v18.12.1 PS C:\Users\admin\Desktop\IT\JONAS CSS & SASS\Natours-starter>

remove & from JONAS CSS & SASS => JONAS CSS and SASS

@MohamedNashad
Copy link

npm run dev

workment@2.0.0 dev
tsc && nodemon ./app.ts

[nodemon] 2.0.22
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): src***
[nodemon] watching extensions: ts,js
[nodemon] starting ts-node ./src/app.ts ./app.ts
node:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module './app.ts'
Require stack:

  • E:\Projects\iconblocks\workedn\wp-workedn-server\src\imaginaryUncacheableRequireResolveScript
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Function.resolve (node:internal/modules/helpers:187:19)
    at requireResolveNonCached (E:\Projects\iconblocks\workedn\wp-workedn-server\node_modules\ts-node\dist\bin.js:549:16)
    at getProjectSearchDir (E:\Projects\iconblocks\workedn\wp-workedn-server\node_modules\ts-node\dist\bin.js:519:40)
    at phase3 (E:\Projects\iconblocks\workedn\wp-workedn-server\node_modules\ts-node\dist\bin.js:267:27)
    at bootstrap (E:\Projects\iconblocks\workedn\wp-workedn-server\node_modules\ts-node\dist\bin.js:47:30)
    at main (E:\Projects\iconblocks\workedn\wp-workedn-server\node_modules\ts-node\dist\bin.js:33:12)
    at Object. (E:\Projects\iconblocks\workedn\wp-workedn-server\node_modules\ts-node\dist\bin.js:579:5)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'E:\Projects\iconblocks\workedn\wp-workedn-server\src\imaginaryUncacheableRequireResolveScript'
    ]
    }

Node.js v20.11.1
[nodemon] app crashed - waiting for file changes before starting...

i have the same issue, even though i most of the solutions above, the app.ts file is available in my root directory, still i am getting the error

@aloysiusose
Copy link

image

This is helpful for this issue

Step 1. press Window +r Step 2. And type %AppData% and press Enter Step 3. you find there npn folder ...Delete this folder and run the command "npm install -g npm@latest"

And if you can do this your project again run smoothly. Thank you

Thanks for this!!

@sureshdhwaniris123
Copy link

Node version : 14.17.5
Azure azure/storage-blob : ^12.17.0

internal/modules/cjs/loader.js:892

throw err;

^

Error: Cannot find module 'node:os'

Require stack:

  • /home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/log.js

  • /home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/debug.js

  • /home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/index.js

  • /home/suresh-dhwani/citifinance-node-api/node_modules/@azure/core-http/dist/index.js

  • /home/suresh-dhwani/citifinance-node-api/node_modules/@azure/storage-blob/dist/index.js

  • /home/suresh-dhwani/citifinance-node-api/service/blob_service.js

  • /home/suresh-dhwani/citifinance-node-api/service/getBlobUrl.js

  • /home/suresh-dhwani/citifinance-node-api/service/common.js

  • /home/suresh-dhwani/citifinance-node-api/service/index.js

  • /home/suresh-dhwani/citifinance-node-api/app.js

  • /home/suresh-dhwani/citifinance-node-api/server.js

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)

at Function.Module._load (internal/modules/cjs/loader.js:745:27)

at Module.require (internal/modules/cjs/loader.js:961:19)

at require (internal/modules/cjs/helpers.js:92:18)

at Object. (/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/log.js:7:19)

at Module._compile (internal/modules/cjs/loader.js:1072:14)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)

at Module.load (internal/modules/cjs/loader.js:937:32)

at Function.Module._load (internal/modules/cjs/loader.js:778:12)

at Module.require (internal/modules/cjs/loader.js:961:19)

at require (internal/modules/cjs/helpers.js:92:18)

at Object. (/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/debug.js:5:18)

at Module._compile (internal/modules/cjs/loader.js:1072:14)

at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)

at Module.load (internal/modules/cjs/loader.js:937:32)

at Function.Module._load (internal/modules/cjs/loader.js:778:12) {

code: 'MODULE_NOT_FOUND',

requireStack: [

'/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/log.js',

'/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/debug.js',

'/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/logger/dist/commonjs/index.js',

'/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/core-http/dist/index.js',

'/home/suresh-dhwani/citifinance-node-api/node_modules/@azure/storage-blob/dist/index.js',

'/home/suresh-dhwani/citifinance-node-api/service/blob_service.js',

'/home/suresh-dhwani/citifinance-node-api/service/getBlobUrl.js',

'/home/suresh-dhwani/citifinance-node-api/service/common.js',

'/home/suresh-dhwani/citifinance-node-api/service/index.js',

'/home/suresh-dhwani/citifinance-node-api/app.js',

'/home/suresh-dhwani/citifinance-node-api/server.js'

]

}

@RedYetiDev
Copy link
Member

The comments for this issue seem to have begun to be unrelated

If you are experiencing an issue, please open an new issue, rather than commenting here

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