electrify
electrify copied to clipboard
Error "ENOENT: no such file or directory" on building package
When trying to package my meteor app using electrify (version 2.1.4), I get the following error:
INFO electrify:index: initializing
INFO electrify:plugins: use mongodb
INFO electrify:plugins: use nodejs
INFO electrify:plugins: use socket
INFO electrify:app: bundling app
INFO electrify:scaffold: ensuring basic structure
INFO electrify:plugins: ensuring electrify dependencies
INFO electrify:plugins: load configured plugins []
INFO electrify:plugins: acquire
INFO electrify:plugins:mongodb: mongo already acquired, moving on
INFO electrify:plugins:mongodb: mongod already acquired, moving on
INFO electrify:plugins:nodejs: nodejs already acquired, moving on
INFO electrify:plugins:socket: nothing to acquire, skipping
INFO electrify:app: bundling meteor
INFO electrify:app: ensuring meteor dependencies
INFO electrify:electron: packaging "my-electrified-app" for platform linux-x64 using electron v0.35.6
Packaging app for platform linux x64 using electron v0.35.6
/usr/lib/node_modules/electrify/lib/electron.js:55
if(err) throw err;
^
Error: ENOENT: no such file or directory, stat '/home/[...]/.electrify/app/programs/server/npm/react-runtime-prod/node_modules/react/node_modules/envify/node_modules/jstransform/node_modules/esprima-fb/.#README.md'
When looking at the file it cannot find, it turns out to be a broken symlink with target "[email protected]". The folder does contains a valid file named "#README.md#", not sure if that has anything to do with this issue. Any ideas?
See #35. Looks like same issue to me. Limited to Linux I think. Pull request to fix it is extant.
Indeed, it looks like a linux specific issue, I tried building the same app on Windows and that works. The fix in the pull request doesn't seem to solve this issue. I installed the package from the corresponding repository using:
sudo npm install -g git+https://github.com/gabrielstuff/electrify.git#59a2d8596dd9ffa25432423e42b74c3962b80213
But using this version results in the same error.
Well installing that package fixed my problem - electrify now packages under Linux Mint x64. Thank you.
hi i'm getting the same error on mac...