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

Why do we have WARNING: No version of Node.js specified in package.json, see: #34

Open
peterheard01 opened this issue Nov 12, 2014 · 10 comments

Comments

@peterheard01
Copy link

Hi Chaps,

It's deployment time, but.....

In our package.json file we have got...

"engines": {
"node": ">= 0.10.0"
},

(which by the way is working successfully with another hosted lineman app for another project on heroku).

But we created a new project and are getting...

-----> Fetching custom git buildpack... done
-----> Lineman app detected
Reusing previous heroku NPM build cache
-----> Resolving engine versions

   WARNING: No version of Node.js specified in package.json, see:
   https://devcenter.heroku.com/articles/nodejs-support#versions

/tmp/node-bootstrap_node-cg3V/bin/node: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
! Requested engine node version does not match available versions: 0.10.21 0.10.20 0.10.19 0.10.18 0.10.17 0.10.16 0.10.15 0.10.14 0.10.13 0.10.12 0.10.11 0.10.10 0.10.9 0.10.8 0.10.6 0.10.5 0.10.4 0.10.3 0.10.2 0.10.1 0.10.0 0.8.26 0.8.25 0.8.24 0.8.23 0.8.22 0.8.21 0.8.19 0.8.14 0.8.13 0.8.12 0.8.11 0.8.10 0.8.8 0.8.7 0.8.6 0.8.5 0.8.4 0.8.3 0.8.2 0.8.1 0.8.0 0.6.20 0.6.18 0.6.17 0.6.16 0.6.15 0.6.14 0.6.13 0.6.12 0.6.11 0.6.10 0.6.8 0.6.7 0.6.6 0.6.5 0.6.3 0.4.10 0.4.7

I don't get it, the version in our package.json is the same as what heroku want. Or is there something in the build pack that I should be aware of?

Thanks,
Pete

@searls
Copy link
Member

searls commented Nov 12, 2014

That's a great question.

On Wed, Nov 12, 2014 at 1:25 PM, Pete Heard [email protected]
wrote:

Hi Chaps,
It's deployment time, but.....
In our package.json file we have got...
"engines": {
"node": ">= 0.10.0"
},
(which by the way is working successfully with another hosted lineman app for another project on heroku).
But we created a new project and are getting...
-----> Fetching custom git buildpack... done
-----> Lineman app detected
Reusing previous heroku NPM build cache
-----> Resolving engine versions
WARNING: No version of Node.js specified in package.json, see:
https://devcenter.heroku.com/articles/nodejs-support#versions
/tmp/node-bootstrap_node-cg3V/bin/node: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
! Requested engine node version does not match available versions: 0.10.21 0.10.20 0.10.19 0.10.18 0.10.17 0.10.16 0.10.15 0.10.14 0.10.13 0.10.12 0.10.11 0.10.10 0.10.9 0.10.8 0.10.6 0.10.5 0.10.4 0.10.3 0.10.2 0.10.1 0.10.0 0.8.26 0.8.25 0.8.24 0.8.23 0.8.22 0.8.21 0.8.19 0.8.14 0.8.13 0.8.12 0.8.11 0.8.10 0.8.8 0.8.7 0.8.6 0.8.5 0.8.4 0.8.3 0.8.2 0.8.1 0.8.0 0.6.20 0.6.18 0.6.17 0.6.16 0.6.15 0.6.14 0.6.13 0.6.12 0.6.11 0.6.10 0.6.8 0.6.7 0.6.6 0.6.5 0.6.3 0.4.10 0.4.7
I don't get it, the version in our package.json is the same as what heroku want. Or is there something in the build pack that I should be aware of?
Thanks,

Pete

Reply to this email directly or view it on GitHub:
#34

@peterheard01
Copy link
Author

I ended up just using the command....

heroku create mysite --stack cedar --buildpack http://github.com/linemanjs/heroku-buildpack-lineman.git

Rather than setting up the app in heroku, adding the remote and then adding the config with set config command. And it worked that way round. Strange.

Anyway if anyone else gets the problem hopefully they land here and get another approach!

@searls
Copy link
Member

searls commented Nov 16, 2014

Yeah that's really bizarre. Tried a normal build pack addition yesterday and it worked

On Sun, Nov 16, 2014 at 2:24 AM, Pete Heard [email protected]
wrote:

I ended up just using the command....
heroku create mysite --stack cedar --buildpack http://github.com/linemanjs/heroku-buildpack-lineman.git
Rather than setting up the app in heroku, adding the remote and then adding the config with set config command. And it worked that way round. Strange.

Anyway if anyone else gets the problem hopefully they land here and get another approach!

Reply to this email directly or view it on GitHub:
#34 (comment)

@chrisdugne
Copy link

exactly the same issue for me, using another buildpack and node config :

  "engines": {
    "node": "0.10.x"
  },

I tried the command line like you suggested @peterheard01

heroku create myapp --stack cedar --buildpack https://github.com/meenie/heroku-buildpack-nodejs-grunt-bower 

And now it's ok...

@peterheard01
Copy link
Author

yeah that is strange, least it wasn’t just me being stupid!

On 13 Jan 2015, at 16:16, Chris [email protected] wrote:

exactly the same issue for me, using

"engines": {
"node": "0.10.x"
},
I tried the command line like you @peterheard01 https://github.com/peterheard01
heroku create myapp --stack cedar --buildpack https://github.com/meenie/heroku-buildpack-nodejs-grunt-bower
And know it's ok...


Reply to this email directly or view it on GitHub #34 (comment).

@jrhorn424
Copy link

Same error. None of these workarounds worked for me.

If I use --stack cedar, I can get further in the build process, but then the build fails due to cedar defaulting to ASCII instead of UTF-8. If I use the default stack, cedar-14, I get the error reported originally in this issue.

@searls
Copy link
Member

searls commented Jan 27, 2015

@jrhorn424 I don't have time to debug this currently. Maybe your repo has an unrelated encoding issue?

@peterheard01
Copy link
Author

Getting this problem again after being kicked off Cedar-10! how annoying....

@searls
Copy link
Member

searls commented Sep 4, 2015

Yep. We haven't invested time to look into this yet, and I suspect upgraing to cedar-14 is going to be a pain for all of our lineman apps.

@peterheard01
Copy link
Author

ah ok, well if anyone else gets this problem at least they know. For me as a workaround I….

  1. lineman build
  2. then drop the output in a static site
  3. and put a php called index.php file in with this in it….

On 4 Sep 2015, at 14:59, Justin Searls [email protected] wrote:

Yep. We haven't invested time to look into this yet, and I suspect upgraing to cedar-14 is going to be a pain for all of our lineman apps.


Reply to this email directly or view it on GitHub #34 (comment).

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