Grpc-node: Failed at the [email protected] install script still occuring

Created on 20 Nov 2018  路  1Comment  路  Source: grpc/grpc-node

Problem description

Failed at the [email protected] install script

Reproduction steps

npm install (inside the project)

Environment

$npm -v
6.4.1

$nodejs -v
v8.12.0

OS: Ubuntu 16.04

Additional context

[email protected] install /root/nginx/ngdesk-webapp-project/node_modules/grpc

node-pre-gyp install --fallback-to-build --library=static_library

sh: 1: node-pre-gyp: Permission denied
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-20T19_03_49_986Z-debug.log

grpc requires reporter action

Most helpful comment

You're installing as root. Please run with --unsafe-perm.

>All comments

You're installing as root. Please run with --unsafe-perm.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Harmonickey picture Harmonickey  路  6Comments

respinha picture respinha  路  6Comments

fenos picture fenos  路  4Comments

moloch-- picture moloch--  路  5Comments

tvk-codecraft picture tvk-codecraft  路  3Comments