dsheiko / HTML5-Form-Shim

⛔️ [DEPRECATED] That is a jquery plugin, which emulates HTML5 Form Validation on old browsers. The plugin also allows to customize form submission validation tooltips and field validation callbacks (e.g. via XMLHttpRequest)
http://dsheiko.github.io/HTML5-Form-Shim/
71 stars 17 forks source link

Unable to run grunt build locally #19

Closed mriccia closed 1 year ago

mriccia commented 9 years ago

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