Windows Server 2012 Problem (AGAIN)
-
This post is deleted!
-
I deleted npm and npm-cache folder in Appdata/Roaming and the folder of Nodebb.
I redid the installation but now not with 1.1.2 but with 1.x.x and now give others errors at npm install.npm ERR! fetch failed https://registry.npmjs.org/mousetrap/-/mousetrap-1.6.0.tgz npm WARN retry will retry, error on last attempt: Error: read ECONNRESET npm ERR! fetch failed https://registry.npmjs.org/csurf/-/csurf-1.9.0.tgz npm WARN retry will retry, error on last attempt: Error: read ECONNRESET npm ERR! fetch failed https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-1.0.0.tgz npm WARN retry will retry, error on last attempt: Error: read ECONNRESET npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\np m-cli.js" "install" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! syscall read npm ERR! network read ECONNRESET npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Administrator\Documents\GitHub\Nodebb\npm-debug.log
-
@Master-Antonio have you tried installing the latest version of Node and npm?
-
-
I installed the version 4.5.0 of node.js with npm 2.15.9 and i think that all is perfect.
Right?npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardso n/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years. npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update t o graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update t o graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. [email protected] node_modules\connect-flash [email protected] node_modules\nodebb-plugin-soundpack-default [email protected] node_modules\connect-ensure-login [email protected] node_modules\ip [email protected] node_modules\underscore [email protected] node_modules\nodemailer-sendmail-transport [email protected] node_modules\socketio-wildcard [email protected] node_modules\semver [email protected] node_modules\async [email protected] node_modules\daemon [email protected] node_modules\mime [email protected] node_modules\nodebb-rewards-essentials [email protected] node_modules\toobusy-js [email protected] node_modules\xregexp [email protected] node_modules\colors [email protected] node_modules\express-useragent [email protected] node_modules\minimist [email protected] node_modules\underscore.deep [email protected] node_modules\string [email protected] node_modules\cookie-parser āāā [email protected] āāā [email protected] [email protected] node_modules\passport-local āāā [email protected] [email protected] node_modules\serve-favicon āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] [email protected] node_modules\bcryptjs [email protected] node_modules\nodebb-theme-lavender [email protected] node_modules\passport āāā [email protected] āāā [email protected] [email protected] node_modules\sitemap āāā [email protected] [email protected] node_modules\nodebb-widget-essentials [email protected] node_modules\lru-cache āāā [email protected] āāā [email protected] [email protected] node_modules\nodebb-plugin-spam-be-gone āāā [email protected] āāā [email protected] āāā [email protected] [email protected] node_modules\mousetrap [email protected] node_modules\nodebb-plugin-mentions [email protected] node_modules\morgan āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\connect-redis āāā [email protected] ([email protected]) [email protected] node_modules\rss āāā [email protected] āāā [email protected] ([email protected]) [email protected] node_modules\nodebb-plugin-composer-default āāā [email protected] [email protected] node_modules\express-session āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\mkdirp āāā [email protected] [email protected] node_modules\csurf āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\compression āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\body-parser āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\validator [email protected] node_modules\redis āāā [email protected] āāā [email protected] [email protected] node_modules\winston āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] [email protected] node_modules\connect-multiparty āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\express āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\connect-mongo āāā [email protected] [email protected] node_modules\nodemailer-smtp-transport āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\nodemailer āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\logrotate-stream āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\json-2-csv āāā [email protected] āāā [email protected] [email protected] node_modules\socket.io-redis āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\rimraf āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\postcss āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] [email protected] node_modules\socket.io-client āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected], xmlhttpreque [email protected], [email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\prompt āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\socket.io āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\templates.js [email protected] node_modules\html-to-text āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\nconf āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], string [email protected]) [email protected] node_modules\mocha āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\grunt āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\mongodb āāā [email protected] āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\uglify-js āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\request āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\jimp āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) [email protected] node_modules\nodebb-theme-vanilla [email protected] node_modules\nodebb-theme-persona [email protected] node_modules\nodebb-plugin-markdown āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\istanbul āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] āāā [email protected] ([email protected], [email protected], [email protected], [email protected]) āāā [email protected] ([email protected]) āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\nodebb-plugin-dbsearch āāā [email protected] ([email protected], [email protected]) [email protected] node_modules\cron āāā [email protected] ([email protected]) [email protected] node_modules\chart.js āāā [email protected] ([email protected], [email protected]) āāā [email protected] [email protected] node_modules\autoprefixer āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] [email protected] node_modules\less āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] ([email protected]) āāā [email protected] ([email protected]) [email protected] node_modules\grunt-contrib-watch āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected] ) āāā [email protected] āāā [email protected] ([email protected]) [email protected] node_modules\nodebb-plugin-emoji-one āāā [email protected] āāā [email protected] āāā [email protected] āāā [email protected] [email protected] node_modules\nodebb-plugin-emoji-extended āāā [email protected] āāā [email protected]
-
Now i have problem with nodebb.
https://community.nodebb.org/topic/9421/nodebb-dont-work -
Why not use a simple Linux server? Is the support for Mongdb and Node.js good enough for Windows?
-
@Jenkler Simply, because my server is windows.
I cant buy a server linux now ....
-
I would recommend using CoreOS with Docker on Digitalocean
-
@Jenkler said in Windows Server 2012 Problem (AGAIN):
CoreOS
CoreOS? Never used.
My favorite is Ubuntu .... -
You can run Ubuntu inside Docker if you prefer Ubuntu. In my case I use Gentoo. Best is to start with learning CoreOS with Docker.
Or just install Nodejs + MongoDB on Ubuntu server
-
@Jenkler Docker and Windows is a hell. Docker runs on top of a virtualbox which virtualizes the linux kernel, which allows docker containerization. The result of this is that the efficiency is totally lost. Docker on windows works fine for development, but forget about using it in production
I use linux (Debian Jessie) in production and windows (windows 10, "education") for development. Both work fine. I run Mongo and NodeBB on the same VPS, and for the windows development I use mongolab (or whatever it's called now).
@Master-Antonio You may have noticed Windows is icky when it comes to compiling basically anything that is unrelated to Microsoft in any way. Therefore compiling native addons with NodeJS is a hell on Windows. For me it does only work with commandprompt cmd.exe and not with powershell or mingw. I've followed the directions here (search for the "On Windows" bullet, below installing) with option 2. For Visual C++ Build Environment I used the first option.
If you like I can send you a 64-bit precompiled node_modules tarball (rar, zip, whatever) that you can use for your deployment on the windows server. I'm quite certain that will fix this specific problem. However, that'd be no durable solution, of course
-
@JasperNL you can now use bash in a Linux environment rubbing directly on top of the windows kernel. Look up "bash on Windows"
-
@PitaJ I've read about it at LowEndTalk before, but I don't see the benefit of it over MinGW. MinGW provides most standard linux commands (ls, cd, touch, grep, ssh, scp, tar, ip) that I'll often use and what I'm used to. If I need something more advanced than that, I'll probably be better off with starting a debian VM in virtualbox
I don't have problems with using windows' commandprompt for doing things with node.js or python when MinGW starts bitching about compiling binaries for windows again. That's what I'm used to, after all.. -
Looks like
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\np m-cli.js" "install"
is your issue. I had the same thing a while ago when installing NodeBB on Windows. Too many backslashes for the directories.
-
@Jenkler said in Windows Server 2012 Problem (AGAIN):
@JasperNL Docker in CoreOS works extremely well. I guess you lose som performance but the upside of Docker is worth it
Oh, I did not get that you were proposing a move to CoreOS as a whole! I thought you proposed using Docker on a Windows host. The latter is certainly a no-go, because that requires virtualbox, which is killing for the applications efficiency.
I don't know if moving to CoreOS (or a standard setup with any other linux distro) is an option that OP considers, because there may be tonnes of reasons to stay with windows. Think about IIS or Active Directory-related services, or any other thing that are itchy combined with Linux.
That's why I think providing windows-centered recommendations may be better suitable for him. I'm sure there must be a such a solution to his problem, because NodeBB could run perfectly on Windows.
@Scuzz said in Windows Server 2012 Problem (AGAIN):
Looks like
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\np m-cli.js" "install"
is your issue. I had the same thing a while ago when installing NodeBB on Windows. Too many backslashes for the directories.
I don't think that's the issue. Windows uses backslashes for directory pathing. The backslashes must occur twice, because otherwise it will be parsed as a single backslash (as posix-standard expressions are used as in javascript and bash).
Besides that, the error that comes up is an error from npm, which shows that npm can be executed.The problem is described here:
npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! syscall read
ECONNRESET means that the connection to the packages is reset . This is most likely due to a firewall issue. Possible resolutions to that problem are turning off the firewall, or run the command prompt (or do you use powershell?) as administrator.
-
@JasperNL I think he's referring to the four backslashes in a row.
-
I used git shell to install all.
With 1.1.0 work seems work.
https://community.nodebb.org/topic/9421/nodebb-dont-work/17 -
@Master-Antonio asked me to help him over teamviewer. I've made a fresh installation of 1.1.2, and there is a problem with links to images.
The installation worked fine, but there were problems with profile cover pictures.
The host system is a windows machine. I'm able to reproduce the bug on my local build.
This is what the inspection window looks like on my updated version from 1.1.0 to 1.1.2. I did not change my cover picture since the update.
It should be noted that the background-image field now uses normal slashes.After changing the cover picture, the background-image field changes. to backslashes.
As of then, the cover picture stays white, because the browser cannot resolve the location.
This is clearly a bug related to 1.1.2.