[toc on_off::hide=1]Question:
I've customized some JavaScript files, after this I tried to optimize JavaScript soruce code according to the documentation. When I executed the command below, I got the error.
D:Working>nodejsnode r.js -o js-sourcesscriptsbuild.js appDir=js-sourcesscripts baseUrl=.optimize=uglify2 dir=js-optimization-output Error: Error: ERROR: module path does not exist: D:/Working/js-sources/scripts/.optimize=uglify2/adhoc.start.page.js for module named: adhoc.start.page. Path is relative to: D:/Working at D:Workingr.js:25264:35
screenshot with error:
What is the reason of this error? How can I fix it?
Explanation:
This error was generated because the text of the command was copied from the documentation as is and one space that separates two keys in the command is absent
Solution:
Please separate two keys in the command with the space to fix the problem.
Recommended Comments
There are no comments to display.