You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
at Module._load (node:internal/modules/cjs/loader:923:27)
at Module.require (node:internal/modules/cjs/loader:1137:19)
at require (node:internal/modules/helpers:121:18)
at Object. (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:5:20)
at Module._compile (node:internal/modules/cjs/loader:1255:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
at Module.load (node:internal/modules/cjs/loader:1113:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js' ]
Then if I add the full path:
C:\Users\johnny\OneDrive\Desktop\AC_Offspring>node app.js
Adding product to bag
AggregateError
at internalConnectMultiple (node:net:1102:18)
at afterConnectMultiple (node:net:1620:5) {
code: 'ECONNREFUSED',
response: undefined,
[errors]: [
Error: connect ECONNREFUSED ::1:80
at afterConnectMultiple (node:net:1607:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 80
},
Error: connect ECONNREFUSED 127.0.0.1:80
at afterConnectMultiple (node:net:1607:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 80
}
]
}
Error: Could not pass cookies from API!
at get_cookies (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:37:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async addProductToBasket (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:148:21)
at async order (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:101:3)
Error: Could not add product to the bag!
at addProductToBasket (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:159:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async order (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:101:3)
The text was updated successfully, but these errors were encountered:
@navkuun
Hello - having issues when running - userAgents.js is present in Data folder
node:internal/modules/cjs/loader:1073
throw err;
^
Error: Cannot find module 'Data/userAgents.js'
Require stack:
C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
at Module._load (node:internal/modules/cjs/loader:923:27)
at Module.require (node:internal/modules/cjs/loader:1137:19)
at require (node:internal/modules/helpers:121:18)
at Object. (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:5:20)
at Module._compile (node:internal/modules/cjs/loader:1255:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
at Module.load (node:internal/modules/cjs/loader:1113:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js' ]
Then if I add the full path:
C:\Users\johnny\OneDrive\Desktop\AC_Offspring>node app.js
Adding product to bag
AggregateError
at internalConnectMultiple (node:net:1102:18)
at afterConnectMultiple (node:net:1620:5) {
code: 'ECONNREFUSED',
response: undefined,
[errors]: [
Error: connect ECONNREFUSED ::1:80
at afterConnectMultiple (node:net:1607:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 80
},
Error: connect ECONNREFUSED 127.0.0.1:80
at afterConnectMultiple (node:net:1607:16) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 80
}
]
}
Error: Could not pass cookies from API!
at get_cookies (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:37:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async addProductToBasket (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:148:21)
at async order (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:101:3)
Error: Could not add product to the bag!
at addProductToBasket (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:159:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async order (C:\Users\johnny\OneDrive\Desktop\AC_Offspring\app.js:101:3)
The text was updated successfully, but these errors were encountered: