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
i have a file which is module,in this module,there has require in a method,when amd-optimize,it throws an error,example:
E:\mysoft\UPUPW_AP5.6\htdocs\fraudect_report_test\frontend\node_modules\amd-opti
mize\lib\trace.js:50
isText = moduleName.indexOf('text!') !== -1;
^
TypeError: Cannot read property 'indexOf' of undefined
at resolveModuleName (E:\mysoft\UPUPW_AP5.6\htdocs\fraudect_report_test\fron
tend\node_modules\amd-optimize\lib\trace.js:50:26)
i have a file which is module,in this module,there has require in a method,when amd-optimize,it throws an error,example:
E:\mysoft\UPUPW_AP5.6\htdocs\fraudect_report_test\frontend\node_modules\amd-opti
mize\lib\trace.js:50
isText = moduleName.indexOf('text!') !== -1;
^
TypeError: Cannot read property 'indexOf' of undefined
at resolveModuleName (E:\mysoft\UPUPW_AP5.6\htdocs\fraudect_report_test\fron
tend\node_modules\amd-optimize\lib\trace.js:50:26)
gulpfile.js
my email: peiweili@altamob.com