-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
Not sure if this is the right place to report this but for a couple of days now when trying to push resource to Transifex I am getting the following error message...
[11:29:47] Starting 'transifex:push'...
[11:29:48] Newer version of locale.json on the server. No operation done
[11:29:48] Finished 'transifex:push' after 521 ms
Here is my complete gulp file...
const argv = require('yargs').argv;
const gulp = require('gulp');
const gulpTransifex = require('gulp-transifex');
const osHomedir = require('os-homedir');
function verifyParameters() {
if (!argv.project) {
console.error('project parameter must be supplied');
}
}
function createClient() {
// credential file must be place in your user home directory (i.e. c:\users\myname\transifexrc.json)
const config = require(osHomedir() + '/transifexrc.json');
const env = config.env;
const options = {
user: config.transifex[env].user,
password: config.transifex[env].password,
project: argv.project,
local_path: './src/resources/src/'
};
return gulpTransifex.createClient(options);
}
gulp.task('transifex:push', function () {
verifyParameters();
return gulp.src('./src/resources/src/en/locale.json')
.pipe(createClient().pushResource());
});
gulp.task('transifex:pull', function () {
verifyParameters();
return gulp.src('./src/resources/src/en/locale.json')
.pipe(createClient().pullResource());
});I've waited a couple of days before to retry thinking it could be related to timezone or whatever but still getting the error.
Any idea what would cause this?
In Transifex documentation they mention the use of --force flag to avoid checking for modification time ... is there any way to provide the flag when using gulp-transifex?
Reference for
--forceflag: https://docs.transifex.com/client/push#command-options
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels