Coder Social home page Coder Social logo

error installing about reaction-docs HOT 6 CLOSED

IanDCarroll avatar IanDCarroll commented on August 18, 2024
error installing

from reaction-docs.

Comments (6)

aaronjudd avatar aaronjudd commented on August 18, 2024

Can you give us the version output for:

node -v
npm -v
reaction -v

We've actually been testing on Ubuntu, so I don't think it's the OS either.

(also, I don't think you should need to use sudo)

from reaction-docs.

jshimko avatar jshimko commented on August 18, 2024

@IanDCarroll Do you have Python 2.7, make, and a C compiler installed? You need all of them to compile the binaries in the app.

On Ubuntu, you can grab everything you need for Reaction/Meteor with this:

apt-get update 

apt-get install -y --no-install-recommends curl ca-certificates bzip2 git build-essential python graphicsmagick

Also, make sure you're running Node >=4.x.x

from reaction-docs.

IanDCarroll avatar IanDCarroll commented on August 18, 2024

@aaronjudd To answer your question:

$ node -v
v6.2.2
$ npm -v
3.9.5
$ reaction -v
Reaction CLI: 0.3.10

@jshimko I use both Python 2.7 and gcc, so That should be good. But just in case...

ian@Sutra:~$ python -V
Python 2.7.6
ian@Sutra:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) 

I'll try your commands next and run it again. I'll report back after that. Then I'll check the updated documentation if that doesn't solve the problem.

from reaction-docs.

IanDCarroll avatar IanDCarroll commented on August 18, 2024

@jshimko Ran your commands

$ npm install -g reaction-cli
(node:14254) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/reaction-cli/node_modules/sshpk
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/reaction-cli
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/reaction-cli/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
/usr/local/lib
└─┬ [email protected] 
  └─┬ [email protected]
    └─┬ [email protected]
      └─┬ [email protected]
        └── [email protected] 

npm WARN optional Skipping failed optional dependency /reaction-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "reaction-cli"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! path /usr/local/lib/node_modules/reaction-cli/node_modules/sshpk
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/reaction-cli/node_modules/sshpk'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, access '/usr/local/lib/node_modules/reaction-cli/node_modules/sshpk'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules/reaction-cli/node_modules/sshpk' }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ian/npm-debug.log

I can't find npm-debug.log in /home/ian Otherwise I'd share that too.

sudo gives a shorter error message:

$ sudo npm install -g reaction-cli
(node:14277) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
/usr/local/bin/reaction -> /usr/local/lib/node_modules/reaction-cli/dist/main.js
/usr/local/bin/rc -> /usr/local/lib/node_modules/reaction-cli/dist/main.js
/usr/local/lib
└─┬ [email protected] 
  └─┬ [email protected]
    └─┬ [email protected]
      └─┬ [email protected]
        └── [email protected] 

npm WARN optional Skipping failed optional dependency /reaction-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]

from reaction-docs.

jcpleite avatar jcpleite commented on August 18, 2024

The same thing happened to me:

Ubuntu: 16.04 LTS
Dell Inspiron 5557

sudo npm install -g reaction-cli
/usr/local/bin/rc -> /usr/local/lib/node_modules/reaction-cli/dist/main.js
/usr/local/bin/reaction -> /usr/local/lib/node_modules/reaction-cli/dist/main.js
/usr/local/lib
└─┬ [email protected]
└── [email protected]

npm WARN optional Skipping failed optional dependency /reaction-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]

reaction -v

Node: 4.2.6
NPM: 3.10.5
Reaction CLI: 0.3.12

And when a run:

jcpfleite (master) reaction $ reaction

Using settings file at settings/dev.settings.json

Setting up plugin imports...

/bin/sh: 1: .reaction/docker/scripts/plugin-loader.sh: not found

In attach npm-debug
npm-debug.log.tar.gz
.log

from reaction-docs.

brent-hoover avatar brent-hoover commented on August 18, 2024

I am closing this issue as requests for support should be handled through the Gitter channel or Discourse forum, not issues on the documentation. Please feel free to contact us via either of those channels and we would be glad to help you.

from reaction-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.