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

Error "ENOENT: no such file or directory" on building package #41

Open
thomaskelder opened this issue Feb 24, 2016 · 4 comments
Open

Error "ENOENT: no such file or directory" on building package #41

thomaskelder opened this issue Feb 24, 2016 · 4 comments

Comments

@thomaskelder
Copy link

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 "ben@ravus.42159". The folder does contains a valid file named "#README.md#", not sure if that has anything to do with this issue. Any ideas?

@neurobe
Copy link

neurobe commented Feb 24, 2016

See #35. Looks like same issue to me. Limited to Linux I think. Pull request to fix it is extant.

@thomaskelder
Copy link
Author

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.

@neurobe
Copy link

neurobe commented Feb 25, 2016

Well installing that package fixed my problem - electrify now packages under Linux Mint x64. Thank you.

@achtan
Copy link

achtan commented Apr 6, 2016

hi i'm getting the same error on mac...

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

3 participants