Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ReferenceError: __dirname is not defined

import path from 'path';
const __dirname = path.resolve();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #defined
ADD COMMENT
Topic
Name
8+9 =