Error Alert
โค้ด: เลือกทั้งหมด
C:\Users\ACER\Desktop\NodeJs\iiec_xxxx>npm start
> [email protected] start C:\Users\ACER\Desktop\NodeJs\iiec_u4e2
> node bin/www
C:\Users\ACER\Desktop\NodeJs\iiec_u4e2\app\lib\common.js:157
config = Object.assign(config, localConfigFile);
^
ReferenceError: config is not defined
at Object.getConfig (C:\Users\ACER\Desktop\NodeJs\iiex_xxxx\app\lib\common.js:157:32)
at Object.<anonymous> (C:\Users\ACER\Desktop\NodeJs\iiex_xxxx\app.js:35:23)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (C:\Users\ACER\Desktop\NodeJs\iiex_xxxx\bin\www:7:11)
at Module._compile (internal/modules/cjs/loader.js:774:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ACER\AppData\Roaming\npm-cache\_logs\2021-12-24T09_15_51_787Z-debug.log
C:\Users\ACER\Desktop\NodeJs\iiec_u4e2>