non-English characters confuse rcedit: Unable to load file on windows build (from linux)
See original GitHub issueI am getting “Unable to load file” error while "dist:win": "build --platform win32 --arch all"
> npm run dist:win
> divasoft.otopark.kapali@1.6.0 dist:win /home/www/diva.com/otopark/divasoft.otopark.kapali/electron
> build --platform win32 --arch all
Skip app dependencies rebuild because platform is different
Removing /home/www/diva.com/otopark/divasoft.otopark.kapali/build/electron/win
Packaging app for platform win32 ia32 using electron v0.37.8
Error: Fatal error: Unable to load file
at ChildProcess.<anonymous> (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/rcedit/lib/rcedit.js:54:16)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:827:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:477:12)
From previous event:
at /home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/electron-builder/node_modules/electron-packager-tf/win32.js:37:60
From previous event:
at /home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/electron-builder/node_modules/electron-packager-tf/win32.js:32:16
at FSReqWrap.oncomplete (fs.js:82:15)
From previous event:
at buildWinApp (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/electron-builder/node_modules/electron-packager-tf/win32.js:15:10)
at /home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/electron-builder/node_modules/electron-packager-tf/common.js:233:7
at end (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/run-series/index.js:8:15)
at done (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/run-series/index.js:11:10)
at each (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/run-series/index.js:16:43)
at /home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/electron-builder/node_modules/electron-packager-tf/common.js:70:7
at next (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/rimraf/rimraf.js:74:7)
at FSReqWrap.CB [as oncomplete] (/home/www/diva.com/otopark/divasoft.otopark.kapali/electron/node_modules/rimraf/rimraf.js:110:9)
npm ERR! Linux 3.19.0-58-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dist:win"
npm ERR! node v4.4.3
npm ERR! npm v3.8.8
npm ERR! code ELIFECYCLE
npm ERR! divasoft.otopark.kapali@1.6.0 dist:win: `build --platform win32 --arch all`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the divasoft.otopark.kapali@1.6.0 dist:win script 'build --platform win32 --arch all'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the divasoft.otopark.kapali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! build --platform win32 --arch all
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs divasoft.otopark.kapali
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls divasoft.otopark.kapali
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/www/diva.com/otopark/divasoft.otopark.kapali/electron/npm-debug.log
/home/www/diva.com/otopark/divasoft.otopark.kapali/electron
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Python not able to open file with non-english characters in path
Open the filename-containing-file using codecs.open to read unicode data from it. You need to specify the encoding of the file (because you know ......
Read more >Non-english characters in biblatex fail compilation with xelatex ...
I'm trying to compile a document using either XeLaTeX/LuaLateX and biblatex/biber, but I'm having trouble with a bibliographic entry that ...
Read more >Why can't I open a file in Linux even though it's in the directory?
One of the main reason why you might not be able to open a file is due to a partially, or corrupt i-node...
Read more >spatialite_gui is unable to open file whose path contains ...
I have a little Windows application which is having the same trouble if it is compiled with ANSI (or MBCS) code. However when...
Read more >Non-Unicode records containing Greek characters fail to load.
6. Run Pbulkimport with Unicode file. 7. View log.imp file and note lack of error messages. Workaround: Convert input file to UTF-8 (Unicode) ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@brendtumi In the next dev
next
release will beDivasoft Otopark Setup 1.0.0.exe
.@changkun Ok, I will try to fix rcedit tomorrow or implement workaround on our side.