Even the mobile version experience keeps being chaotic on this v2 beta im so glad the development is alive and having a big update like this v2 is nice news
NodeJS 4.0 released
-
@yariplus said:
Hmm, tried on a fresh install, but lwip wouldn't build for me.
Most likely this would be because all native modules need to be updated for 4.0.
Quoting from a blog post:
Recent changes to V8 which are included in io.js v3 are much more profound and require not only a newer version of NAN but a breaking API change in NAN itself which requires code changes in all dependent native modules.
(NAN = Native Abstractions for Node)
Some modules are already compatible though, as the same version of NAN is used by both io.js v3 and Node.js v4 and io.js v3 has been out for a while, so module authors had some time in advance of v4 to upgrade.
-
@baris How to solve problems with mmmagic?
[email protected]:/var/www# ./nodebb upgrade 1. Bringing base dependencies up to date... OK 2. Updating NodeBB data store schema. module.js:355 Module._extensions[extension](this, filename); ^ Error: Module did not self-register. at Error (native) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/var/www/node_modules/mmmagic/lib/index.js:3:13) at Module._compile (module.js:434:26) at Object.Module._extensions..js (module.js:452:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) Error: undefined
-
Using NodeJS 4.1 and NodeBB v0.8.x builds just fine except for
[email protected]
.% node -v && npm -v v4.1.1 2.14.4
However,
[email protected]
builds without error. Would it be easy to make NodeBB depend on the later ? In case it helps here is the output once built.[email protected] node_modules/lwip ├── [email protected] ├── [email protected] └── [email protected] ([email protected])
Once this version of
lwip
installed, NodeBB starts without problem. By the way, I love what you have done with the look and feel of the dashboard.PS : I am on FreeBSD so I use clang to compile but I do not think it matters in that case.
-
Just a cautionary note, don't try 4.x in prod yet...
https://github.com/nodejs/node/issues/3370