cedaro / grunt-wp-i18n

Internationalize WordPress themes and plugins with Grunt.
MIT License
160 stars 25 forks source link

Not Working on Windows ver > 8 #72

Open manandharsudin opened 6 years ago

manandharsudin commented 6 years ago

Hi there,

Everything works fine in windows 7 but when I run the same task in windows 8 and 10 following error occur. Don't know What am I missing here? It would be great help if this problem solvess

Running "addtextdomain:target" (addtextdomain) task { Error: spawn php ENOENT at _errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19) at onErrorNT (internal/child_process.js:372:16) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)

code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn php', path: 'php', spawnargs: [ 'C:\wamp64\www\blossom-feminine\wp-content\themes\blossom-feminine\n ode_modules\node-wp-i18n\bin\php\node-add-textdomain.php', 'C:\Users\Sudin\AppData\Local\Temp\arguments-11312dOKXUtaZRvA4.json' ] } (node:11312) [DEP0013] DeprecationWarning: Calling an asynchronous function with out callback is deprecated. Running "makepot:target" (makepot) task undefined Done.

I've search for the issue everywhere but didn't found solution.

Thank you