Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected error writing files #117

Open
jahs4488 opened this issue Feb 3, 2018 · 1 comment
Open

unexpected error writing files #117

jahs4488 opened this issue Feb 3, 2018 · 1 comment

Comments

@jahs4488
Copy link

jahs4488 commented Feb 3, 2018

2018-02-02 22:54 -06:00: unexpected error writing files (either /locales/es.js.tmp or
/locales/es.js are not writeable?): { Error: ENOENT: no such file or directory, stat '/locales/es.js.tmp'
at Error (native)
at Object.fs.statSync (fs.js:1009:11)
at Object.writeFile (/node_modules/i18n-2/i18n.js:437:11)
at Object.translate /node_modules/i18n-2/i18n.js:336:10)
at Object.__ (/node_modules/i18n-2/i18n.js:153:18)
at eval (eval at (/node_modules/ejs-locals/node_modules/ejs/lib/ejs.js:237:14), :30:580)
at eval (eval at (/node_modules/ejs-locals/node_modules/ejs/lib/ejs.js:237:14), :30:3499)
at /node_modules/ejs-locals/node_modules/ejs/lib/ejs.js:250:15
at Object.exports.render (/node_modules/ejs-locals/node_modules/ejs/lib/ejs.js:288:13)
at render (/node_modules/ejs-locals/index.js:334:20)
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/locales/es.js.tmp' }
2018-02-02 22:54 -06:00: unexpected .....

Help me!

@gjuchault
Copy link
Collaborator

Hi,

You might be using an absolute path on your i18n config. Can you provide your usage of i18n ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants