cant install plugins on iis

Technical Support
  • Command failed: npm.cmd install [email protected] --no-save Error: EPERM: operation not permitted, mkdir 'C:\Windows\system32\config\systemprofile\AppData\Roaming\npm' TypeError: Cannot read property 'get' of undefined at errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18) at C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:83:20 at cb (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:214:22) at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:252:24 at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:81:7 at Array.forEach () at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:80:13 at f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:25:25) at afterExtras (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:178:20) at C:\Program Files\nodejs\node_modules\npm\node_modules\mkdirp\index.js:47:53 C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205 if (npm.config.get('json')) { ^ TypeError: Cannot read property 'get' of undefined at process.errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18) at emitOne (events.js:125:13) at process.emit (events.js:221:7) at process._fatalException (bootstrap_node.js:382:26) Error: EPERM: operation not permitted, mkdir 'C:\Windows\system32\config\systemprofile\AppData\Roaming\npm' TypeError: Cannot read property 'get' of undefined at errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18) at C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:83:20 at cb (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:214:22) at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:252:24 at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:81:7 at Array.forEach () at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:80:13 at f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:25:25) at afterExtras (C:\Program Files\nodejs\node_modules\npm\lib\config\cor

  • The EPERM error signifies a permissions or privileges error, you may want to address this as it is not a NodeBB issue.


Suggested Topics


  • 0 Votes
    2 Posts
    262 Views

    Today i updated my forum to v1.12.0 and i found the menu 😉

    22e5d0c9-6aff-4e01-b563-d35b49576801-grafik.png

    I think it works too before the update. A user problem 🙂

    Problem solved.

  • 0 Votes
    6 Posts
    1k Views

    @sfchun said in nodeBB 1.8.2 ubuntu16.04.2 redis install from scratch:

    node app --setup

    I guess that was not the right step here.
    I copied the content of package.json from my running nodebb

    { "name": "nodebb", "license": "GPL-3.0", "description": "NodeBB Forum", "version": "1.8.2", "homepage": "http://www.nodebb.org", "repository": { "type": "git", "url": "https://github.com/NodeBB/NodeBB/" }, "main": "app.js", "scripts": { "start": "node loader.js", "lint": "eslint --cache ./nodebb .", "pretest": "npm run lint", "test": "nyc --reporter=html --reporter=text-summary mocha", "coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage" }, "dependencies": { "ace-builds": "^1.2.9", "async": "2.6.0", "autoprefixer": "7.2.4", "bcryptjs": "2.4.3", "benchpressjs": "^1.2.1", "body-parser": "^1.18.2", "bootstrap": "^3.3.7", "chart.js": "^2.7.1", "clipboard": "1.7.1", "colors": "^1.1.2", "commander": "^2.12.2", "compression": "^1.7.1", "connect-ensure-login": "^0.1.1", "connect-flash": "^0.1.1", "connect-mongo": "2.0.1", "connect-multiparty": "^2.1.0", "connect-redis": "3.3.3", "cookie-parser": "^1.4.3", "cron": "^1.3.0", "cropperjs": "^1.2.2", "csurf": "^1.9.0", "daemon": "^1.1.0", "diff": "^3.4.0", "express": "^4.16.2", "express-session": "^1.15.6", "express-useragent": "1.0.8", "graceful-fs": "^4.1.11", "helmet": "^3.11.0", "html-to-text": "3.3.0", "ipaddr.js": "^1.5.4", "jimp": "0.2.28", "jquery": "^3.2.1", "jsesc": "2.5.1", "json-2-csv": "^2.1.2", "less": "^2.7.3", "lodash": "^4.17.4", "logrotate-stream": "^0.2.5", "lru-cache": "4.1.1", "material-design-lite": "^1.3.0", "mime": "^2.2.0", "minimist": "^1.2.0", "mkdirp": "^0.5.1", "mongodb": "2.2.33", "morgan": "^1.9.0", "mousetrap": "^1.6.1", "mubsub": "^1.4.0", "nconf": "^0.9.1", "nodebb-plugin-composer-default": "6.0.20", "nodebb-plugin-composer-redactor": "^3.2.0", "nodebb-plugin-dbsearch": "2.0.13", "nodebb-plugin-emailer-local": "0.2.1", "nodebb-plugin-embed-videos": "0.1.9", "nodebb-plugin-emoji": "^2.2.3", "nodebb-plugin-emoji-android": "2.0.0", "nodebb-plugin-emoji-extended": "1.1.1", "nodebb-plugin-emoji-one": "^2.0.0", "nodebb-plugin-imagemagick": "^2.0.5", "nodebb-plugin-imgbed": "1.0.2", "nodebb-plugin-markdown": "8.4.2", "nodebb-plugin-mentions": "2.2.4", "nodebb-plugin-poll": "^0.2.17", "nodebb-plugin-registration-question": "0.1.8", "nodebb-plugin-rss": "1.1.9", "nodebb-plugin-soundpack-default": "1.0.0", "nodebb-plugin-spam-be-gone": "0.5.3", "nodebb-plugin-sso-steam-v2": "2.0.1", "nodebb-plugin-topic-tags": "0.1.3", "nodebb-plugin-youtube-lite": "0.4.8", "nodebb-rewards-essentials": "0.0.11", "nodebb-theme-lavender": "5.0.4", "nodebb-theme-persona": "8.0.9", "nodebb-theme-slick": "1.2.1", "nodebb-theme-vanilla": "9.0.7", "nodebb-widget-advanced-essentials": "0.1.5", "nodebb-widget-essentials": "4.0.2", "nodemailer": "4.4.1", "passport": "^0.4.0", "passport-local": "1.0.0", "postcss": "6.0.15", "postcss-clean": "1.1.0", "promise-polyfill": "^7.0.0", "prompt": "^1.0.0", "redis": "2.8.0", "request": "2.83.0", "rimraf": "2.6.2", "rss": "^1.2.2", "sanitize-html": "^1.16.3", "semver": "^5.4.1", "serve-favicon": "^2.4.5", "sitemap": "^1.13.0", "socket.io": "2.0.4", "socket.io-adapter-mongo": "^2.0.1", "socket.io-client": "2.0.4", "socket.io-redis": "5.2.0", "socketio-wildcard": "2.0.0", "spdx-license-list": "^3.0.1", "spider-detector": "1.0.18", "toobusy-js": "^0.5.1", "uglify-es": "^3.3.9", "uglify-js": "^3.3.4", "validator": "9.2.0", "winston": "^2.4.0", "xml": "^1.0.1", "xregexp": "3.2.0", "zxcvbn": "^4.4.2" }, "devDependencies": { "coveralls": "^3.0.0", "eslint": "^4.14.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.8.0", "grunt": "^1.0.1", "grunt-contrib-watch": "^1.0.0", "jsdom": "^11.5.1", "mocha": "^4.1.0", "mocha-lcov-reporter": "^1.3.0", "nyc": "^11.4.1", "smtp-server": "^3.4.1" }, "bugs": { "url": "https://github.com/NodeBB/NodeBB/issues" }, "engines": { "node": ">=6" }, "maintainers": [ { "name": "Andrew Rodrigues", "email": "[email protected]", "url": "https://github.com/psychobunny" }, { "name": "Julian Lam", "email": "[email protected]", "url": "https://github.com/julianlam" }, { "name": "Barış Soner UÅŸaklı", "email": "[email protected]", "url": "https://github.com/barisusakli" } ] }

    then run

    $ npm start > [email protected] start /var/www/mydomain.com > node loader.js 2018-04-19T07:47:44.529Z [450] - info: Launching web installer on port 4567 2018-04-19T07:47:44.931Z [450] - info: Web installer listening on http://0.0.0.0:4567

    Now everything is fine, but sadly I dont know how this file was originaly generated 😕 it seems it does not come from nodebb github repo ...

    At least I can continue !...

  • Installing on Heroku

    Technical Support
  • [Resolved] Emailer not installed

    Solved Technical Support
    0 Votes
    8 Posts
    2k Views

    Problem solved with 0.9.0.
    Thx for your advices and answers 🙂

  • 1 Votes
    7 Posts
    2k Views

    Yea now mongo cant connect to my databse god 4th day i reinstalled my vps 5 times..