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 parsing file #103

Open
theone3nu opened this issue Feb 24, 2019 · 6 comments
Open

Error parsing file #103

theone3nu opened this issue Feb 24, 2019 · 6 comments

Comments

@theone3nu
Copy link

theone3nu commented Feb 24, 2019

When i run this command in debian os
node-deb --server.js /lib I am getting the following error.

dpkg-deb: error: parsing file 'server_1.0.1_all/DEBIAN/control' near line 7 package 'server': end of file before value of field 'Description' (missing final newline)

How to fix this please?

@arvatoth-vcc
Copy link

Please copy here the content of server_1.0.1_all/DEBIAN/control file. (The generated file.)

@theone3nu
Copy link
Author

theone3nu commented Feb 25, 2019 via email

@arvatoth-vcc
Copy link

Can you give the full command line with parameters which do you execute? I think problem around the Maintainer.

@theone3nu
Copy link
Author

node-deb --server.js /lib this is the command which i gave.

@heartsucker
Copy link
Owner

If you run node-deb --no-delete-temp <other args> it will retain the temp directory used to build the package so you can inspect it. I suspect this error happened because your control file is missing a trailing newline or perhaps you have an empty value for the description.

@zeleni-samuraj
Copy link

I had the same issue, you cannot leave out description in the package.json. You must enter something. Also it will give warning about maintainer, but the package will be built regardless.

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

4 participants