Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49215

O npm install no ios dando erro

$
0
0

@ricardorick45 wrote:

veja o retorno quando eu corro sudo npm install:

Last login: Sat Mar 23 04:15:42 on console

MacBook-Air-de-Ricardo:~ ricardooliveira$ cd bilets

MacBook-Air-de-Ricardo:bilets ricardooliveira$ npm install

npm WARN checkPermissions Missing write access to /Users/ricardooliveira/bilets/node_modules

npm WARN checkPermissions Missing write access to /Users/ricardooliveira/bilets/node_modules/@ionic

npm WARN @ionic-native/barcode-scanner@4.20.0 requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/barcode-scanner@4.20.0 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/core@4.10.0 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/firebase@4.10.0 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/http@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/http@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/in-app-browser@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/in-app-browser@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/insomnia@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/insomnia@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/navigation-bar@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/navigation-bar@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/qr-scanner@4.20.0 requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/qr-scanner@4.20.0 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/splash-screen@4.9.1 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/status-bar@4.10.0 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN ngx-clipboard@9.0.1 requires a peer of @angular/core@5.x but none is installed. You must install peer dependencies yourself.

npm WARN ngx-clipboard@9.0.1 requires a peer of @angular/common@5.x but none is installed. You must install peer dependencies yourself.

npm WARN ngx-clipboard@9.0.1 requires a peer of @angular/platform-browser@5.x but none is installed. You must install peer dependencies yourself.

npm ERR! path /Users/ricardooliveira/bilets/node_modules

npm ERR! code EACCES

npm ERR! errno -13

npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access ‘/Users/ricardooliveira/bilets/node_modules’

npm ERR! { [Error: EACCES: permission denied, access ‘/Users/ricardooliveira/bilets/node_modules’]

npm ERR! stack:

npm ERR! ‘Error: EACCES: permission denied, access ‘/Users/ricardooliveira/bilets/node_modules’’,

npm ERR! errno: -13,

npm ERR! code: ‘EACCES’,

npm ERR! syscall: ‘access’,

npm ERR! path: ‘/Users/ricardooliveira/bilets/node_modules’ }

npm ERR!

npm ERR! The operation was rejected by your operating system.

npm ERR! It is likely you do not have the permissions to access this file as the current user

npm ERR!

npm ERR! If you believe this might be a permissions issue, please double-check the

npm ERR! permissions of the file and its containing directories, or try running

npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:

npm ERR! /Users/ricardooliveira/.npm/_logs/2019-03-23T07_16_22_100Z-debug.log

MacBook-Air-de-Ricardo:bilets ricardooliveira$ sudo npm install

Password:

> fsevents@1.2.7 install /Users/ricardooliveira/bilets/node_modules/fsevents

> node install

node-pre-gyp WARN Using request for node-pre-gyp https download

node-pre-gyp WARN Pre-built binaries not installable for fsevents@1.2.7 and node@10.15.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)

node-pre-gyp WARN Hit error EACCES: permission denied, mkdir ‘/Users/ricardooliveira/bilets/node_modules/fsevents/lib’

gyp ERR! configure error

gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/Users/ricardooliveira/bilets/node_modules/fsevents/build’

gyp ERR! System Darwin 17.7.0

gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “configure” “–fallback-to-build” “–module=/Users/ricardooliveira/bilets/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node” “–module_name=fse” “–module_path=/Users/ricardooliveira/bilets/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64” “–napi_version=3” “–node_abi_napi=napi”

gyp ERR! cwd /Users/ricardooliveira/bilets/node_modules/fsevents

gyp ERR! node -v v10.15.0

gyp ERR! node-gyp -v v3.8.0

gyp ERR! not ok

node-pre-gyp ERR! build error

node-pre-gyp ERR! stack Error: Failed to execute ‘/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/ricardooliveira/bilets/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/ricardooliveira/bilets/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64 --napi_version=3 --node_abi_napi=napi’ (1)

node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/ricardooliveira/bilets/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)

node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)

node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:962:16)

node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

node-pre-gyp ERR! System Darwin 17.7.0

node-pre-gyp ERR! command “/usr/local/bin/node” “/Users/ricardooliveira/bilets/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp” “install” “–fallback-to-build”

node-pre-gyp ERR! cwd /Users/ricardooliveira/bilets/node_modules/fsevents

node-pre-gyp ERR! node -v v10.15.0

node-pre-gyp ERR! node-pre-gyp -v v0.10.3

node-pre-gyp ERR! not ok

Failed to execute ‘/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/ricardooliveira/bilets/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/ricardooliveira/bilets/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64 --napi_version=3 --node_abi_napi=napi’ (1)

> node-sass@4.11.0 install /Users/ricardooliveira/bilets/node_modules/node-sass

> node scripts/install.js

Unable to save binary /Users/ricardooliveira/bilets/node_modules/node-sass/vendor/darwin-x64-64 : { Error: EACCES: permission denied, mkdir ‘/Users/ricardooliveira/bilets/node_modules/node-sass/vendor’

at Object.mkdirSync (fs.js:753:3)

at sync (/Users/ricardooliveira/bilets/node_modules/mkdirp/index.js:71:13)

at Function.sync (/Users/ricardooliveira/bilets/node_modules/mkdirp/index.js:77:24)

at checkAndDownloadBinary (/Users/ricardooliveira/bilets/node_modules/node-sass/scripts/install.js:114:11)

at Object.<anonymous> (/Users/ricardooliveira/bilets/node_modules/node-sass/scripts/install.js:157:1)

at Module._compile (internal/modules/cjs/loader.js:689:30)

at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)

at Module.load (internal/modules/cjs/loader.js:599:32)

at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

at Function.Module._load (internal/modules/cjs/loader.js:530:3)

errno: -13,

syscall: ‘mkdir’,

code: ‘EACCES’,

path:

‘/Users/ricardooliveira/bilets/node_modules/node-sass/vendor’ }

> node-sass@4.11.0 postinstall /Users/ricardooliveira/bilets/node_modules/node-sass

> node scripts/build.js

Building: /usr/local/bin/node /Users/ricardooliveira/bilets/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=

gyp info it worked if it ends with ok

gyp verb cli [ ‘/usr/local/bin/node’,

gyp verb cli ‘/Users/ricardooliveira/bilets/node_modules/node-gyp/bin/node-gyp.js’,

gyp verb cli ‘rebuild’,

gyp verb cli ‘–verbose’,

gyp verb cli ‘–libsass_ext=’,

gyp verb cli ‘–libsass_cflags=’,

gyp verb cli ‘–libsass_ldflags=’,

gyp verb cli ‘–libsass_library=’ ]

gyp info using node-gyp@3.8.0

gyp info using node@10.15.0 | darwin | x64

gyp verb command rebuild

gyp verb command clean

gyp verb clean removing “build” directory

gyp verb command configure

gyp verb check python checking for Python executable “python2” in the PATH

gyp verb which failed Error: not found: python2

gyp verb which failed at getNotFoundError (/Users/ricardooliveira/bilets/node_modules/which/which.js:13:12)

gyp verb which failed at F (/Users/ricardooliveira/bilets/node_modules/which/which.js:68:19)

gyp verb which failed at E (/Users/ricardooliveira/bilets/node_modules/which/which.js:80:29)

gyp verb which failed at /Users/ricardooliveira/bilets/node_modules/which/which.js:89:16

gyp verb which failed at /Users/ricardooliveira/bilets/node_modules/isexe/index.js:42:5

gyp verb which failed at /Users/ricardooliveira/bilets/node_modules/isexe/mode.js:8:5

gyp verb which failed at FSReqWrap.oncomplete (fs.js:154:21)

gyp verb which failed python2 { Error: not found: python2

gyp verb which failed at getNotFoundError (/Users/ricardooliveira/bilets/node_modules/which/which.js:13:12)

gyp verb which failed at F (/Users/ricardooliveira/bilets/node_modules/which/which.js:68:19)

gyp verb which failed at E (/Users/ricardooliveira/bilets/node_modules/which/which.js:80:29)

gyp verb which failed at /Users/ricardooliveira/bilets/node_modules/which/which.js:89:16

gyp verb which failed at /Users/ricardooliveira/bilets/node_modules/isexe/index.js:42:5

gyp verb which failed at /Users/ricardooliveira/bilets/node_modules/isexe/mode.js:8:5

gyp verb which failed at FSReqWrap.oncomplete (fs.js:154:21)

gyp verb which failed stack:

gyp verb which failed ‘Error: not found: python2\n at getNotFoundError (/Users/ricardooliveira/bilets/node_modules/which/which.js:13:12)\n at F (/Users/ricardooliveira/bilets/node_modules/which/which.js:68:19)\n at E (/Users/ricardooliveira/bilets/node_modules/which/which.js:80:29)\n at /Users/ricardooliveira/bilets/node_modules/which/which.js:89:16\n at /Users/ricardooliveira/bilets/node_modules/isexe/index.js:42:5\n at /Users/ricardooliveira/bilets/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:154:21)’,

gyp verb which failed code: ‘ENOENT’ }

gyp verb check python checking for Python executable “python” in the PATH

gyp verb which succeeded python /usr/bin/python

gyp verb check python version `/usr/bin/python -c "import sys; print "2.7.10

gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j

gyp verb get node dir no --target version specified, falling back to host node version: 10.15.0

gyp verb command install [ ‘10.15.0’ ]

gyp verb install input version string “10.15.0”

gyp verb install installing version: 10.15.0

gyp verb install --ensure was passed, so won’t reinstall if already installed

gyp verb install version is already installed, need to check “installVersion”

gyp verb got “installVersion” 9

gyp verb needs “installVersion” 9

gyp verb install version is good

gyp verb get node dir target node version installed: 10.15.0

gyp verb build dir attempting to create “build” dir: /Users/ricardooliveira/bilets/node_modules/node-sass/build

gyp ERR! configure error

gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/Users/ricardooliveira/bilets/node_modules/node-sass/build’

gyp ERR! System Darwin 17.7.0

gyp ERR! command “/usr/local/bin/node” “/Users/ricardooliveira/bilets/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”

gyp ERR! cwd /Users/ricardooliveira/bilets/node_modules/node-sass

gyp ERR! node -v v10.15.0

gyp ERR! node-gyp -v v3.8.0

gyp ERR! not ok

Build failed with error code: 1

npm WARN @ionic-native/barcode-scanner@4.20.0 requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/barcode-scanner@4.20.0 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/core@4.10.0 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/firebase@4.10.0 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/http@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/http@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/in-app-browser@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/in-app-browser@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/insomnia@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/insomnia@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/navigation-bar@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/navigation-bar@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/qr-scanner@4.20.0 requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/qr-scanner@4.20.0 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/splash-screen@4.9.1 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN @ionic-native/status-bar@4.10.0 requires a peer of rxjs@^5.0.1 but none is installed. You must install peer dependencies yourself.

npm WARN ngx-clipboard@9.0.1 requires a peer of @angular/core@5.x but none is installed. You must install peer dependencies yourself.

npm WARN ngx-clipboard@9.0.1 requires a peer of @angular/common@5.x but none is installed. You must install peer dependencies yourself.

npm WARN ngx-clipboard@9.0.1 requires a peer of @angular/platform-browser@5.x but none is installed. You must install peer dependencies yourself.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 install: node install

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! node-sass@4.11.0 postinstall: node scripts/build.js

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the node-sass@4.11.0 postinstall 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! /Users/ricardooliveira/.npm/_logs/2019-03-23T07_17_00_623Z-debug.log

MacBook-Air-de-Ricardo:bilets ricardooliveira$

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>