File tree Expand file tree Collapse file tree
Sprint-2/2-mandatory-errors Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Currently trying to print the string "I was born in Bolton" but it isn't working...
22// what's the error ?
33
4- const cityOfBirth = "Bolton" ;
54console . log ( `I was born in ${ cityOfBirth } ` ) ;
5+ const cityOfBirth = "Bolton" ;
66
77//Initiation should access before the declaration.
8+ //error message: Error: Cannot find module '/Users/rogerger1220/Documents/CYF/Module-JavaScript-Fundamentals/Sprint-2/2.js'
9+ // at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)
10+ // at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)
11+ // at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)
12+ // at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)
13+ // at Module._load (node:internal/modules/cjs/loader:1341:5)
14+ // at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
15+ // at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
16+ // at node:internal/main/run_main_module:33:47 {
17+ // code: 'MODULE_NOT_FOUND',
18+ // requireStack: []
19+ }
20+
21+ // Node.js v24.21.0
You can’t perform that action at this time.
0 commit comments