Bower Install Error

Source: Internet
Author: User
Tags emit stack trace
Bower Install error

Bower install at the time of execution, always eaccess error;

Stack Trace:Error:EACCES, rename '/var/folders/3b/0jd32f912h11193j_6gz4d700000gn/t/$user/bower/ Google-code-prettify-5938-0i0zuc ' at Error (native) Console trace:trace at Standardrenderer.error (/usr/local/li B/NODE_MODULES/BOWER/LIB/RENDERERS/STANDARDRENDERER.JS:82:17) at logger.<anonymous> (/usr/local/lib/node_ modules/bower/bin/bower:110:22) at Logger.emit (events.js:107:17) at Logger.emit (/usr/local/lib/node_modules/bowe r/node_modules/bower-logger/lib/logger.js:29:39) at/usr/local/lib/node_modules/bower/lib/commands/index.js : 40:20 at _rejected (/usr/local/lib/node_modules/bower/node_modules/q/q.js:797:24) at/usr/local/lib/node_modules/ Bower/node_modules/q/q.js:823:30 at Promise.when (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1035:31) A T Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:741:41) at/usr/local/lib
 /node_modules/bower/node_modules/q/q.js:557:44
Workaround

sudo bower Install–allow-root
sudo chown-r $USER bower_components

The first statement is forced to execute as root, and then all Bower dependencies are changed to the current user;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.