[Pkg-javascript-devel] RFH: TypeError [ERR_INVALID_ARG_TYPE]
Sakshi Sangwan
sangwansakshi10 at gmail.com
Mon Mar 30 18:47:55 BST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200330/d9532693/attachment.html>
More information about the Pkg-javascript-devel
mailing list