Hello all,
I was trying to build node-style-loader and node-emoji-regex using
babeljs(7.4.5) [1].
It throws the following error in both cases:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type
string. Received type object
at validateString (internal/validators.js:125:11)
at Object.join (path.js:1147:7)
at /usr/share/nodejs/@babel/cli/lib/babel/util.js:77:57
at Array.filter (<anonymous>)
at read (/usr/lib/nodejs/fs-readdir-recursive/index.js:15:6)
at Object.readdir (/usr/share/nodejs/@babel/cli/lib/babel/util.js:76:44)
at handle (/usr/share/nodejs/@babel/cli/lib/babel/dir.js:151:26)
at _default (/usr/share/nodejs/@babel/cli/lib/babel/dir.js:177:30)
at Object.<anonymous>
(/usr/share/nodejs/@babel/cli/lib/babel/index.js:14:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
I am not sure how to go about it, any help would be appreciated.
Thank you.
[1]: https://people.debian.org/~yadd/node-babel7/
Regards,
Sakshi Sangwan
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel