HTML5-Form-Shim icon indicating copy to clipboard operation
HTML5-Form-Shim copied to clipboard

Unable to run grunt build locally

Open mriccia opened this issue 10 years ago • 0 comments

I made a change to the email validation so I tried running 'grunt build' but it doesn't seem to be working. I ran 'grunt build --stack' and here it is: Compiling ./src/h5formshim.js... CommonJS Compiler 1.0.3 (https://github.com/dsheiko/cjsc) Fatal error: TypeError: Arguments to path.resolve must be strings Error: TypeError: Arguments to path.resolve must be strings at C:\Projects\HTML5-Form-Shim\node_modules\grunt-cjsc\node_modules\cjsc\lib\Compiler.js:224:17 at done (C:\Projects\HTML5-Form-Shim\node_modules\grunt-cjsc\node_modules\async\lib\async.js:126:15) at C:\Projects\HTML5-Form-Shim\node_modules\grunt-cjsc\node_modules\async\lib\async.js:32:16 at Object.analyzeModule (C:\Projects\HTML5-Form-Shim\node_modules\grunt-cjsc\node_modules\cjsc\lib\Compiler.js:207:16) at C:\Projects\HTML5-Form-Shim\node_modules\grunt-cjsc\node_modules\cjsc\lib\Compiler.js:163:14 at ReadStream. (C:\Projects\HTML5-Form-Shim\node_modules\grunt-cjsc\node_modules\cjsc\lib\FileSystem.js:144:11) at ReadStream.emit (events.js:117:20) at _stream_readable.js:943:16 at process._tickCallback (node.js:419:13)

I can't figure out why unfortunately. Also I am running the following versions of node and NPM: Node v0.10.32 Npm 1.4.28

mriccia avatar Jun 03 '15 20:06 mriccia