Skip to content

webpack: not found #2

Open
Open
@kalashnikovisme

Description

@kalashnikovisme

Hi!

I've cloned this repo

bundle install
rails g react_webpack_rails:install
npm install
rails s

on another terminal

npm start

and have error:

> @ start /home/pavel/projects/rails-react-examples/basic-redux
> webpack -w --config webpack/dev.config.js

sh: 1: webpack: not found

npm ERR! Linux 3.19.0-59-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ start: `webpack -w --config webpack/dev.config.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the @ start script 'webpack -w --config webpack/dev.config.js'.
npm ERR! This is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack -w --config webpack/dev.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs 
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls 
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pavel/projects/rails-react-examples/basic-redux/npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions