Giter VIP home page Giter VIP logo

Comments (5)

dvdzkwsk avatar dvdzkwsk commented on March 29, 2024

Hey this might just be my fault with specifying versions, as I haven't tested it outside of iojs in a while. Let me switch my nvm over and give it a shot. My bad!

from react-redux-starter-kit.

dvdzkwsk avatar dvdzkwsk commented on March 29, 2024

These configs used to be pre-processed with babel/register up until a few days ago, which is probably what caused this. I updated it to a normal string concatenation and was able to run the dev command successfully with node 0.12.2. Try updating your master branch and let me know if you're still having issues.

Sorry about that!

Edit: Also just fixed similar issues in the Koa server, so hopefully that works for you now too.

from react-redux-starter-kit.

jendiamond avatar jendiamond commented on March 29, 2024
Having problems with Ubuntu 14.04, npm version 2.14.4, nodejs 4.1.1

I need nodejs 4.1.1 to work on a project. Any ideas?


This is my stack trace.

$ npm start

> [email protected] start /vagrant/lingo-client-react
> npm run dev


> [email protected] dev /vagrant/lingo-client-react
> node --harmony bin/webpack-dev-server

module.js:338
    throw err;
    ^

Error: Cannot find module 'tapable'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/vagrant/lingo-client-react/node_modules/webpack/lib/Compiler.js:6:15)
    at Module._compile (module.js:434:26)
    at Module._extensions..js (module.js:452:10)
    at Object.require.extensions.(anonymous function) [as .js] (/vagrant/lingo-client-react/node_modules/babel/node_modules/babel-core/lib/api/register/node.js:214:7)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: `node --harmony bin/webpack-dev-server`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] dev script 'node --harmony bin/webpack-dev-server'.
npm ERR! This is most likely a problem with the react-redux-starter-kit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node --harmony bin/webpack-dev-server
npm ERR! You can get their info via:
npm ERR!     npm owner ls react-redux-starter-kit
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /vagrant/lingo-client-react/npm-debug.log

npm ERR! Linux 3.13.0-44-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `npm run dev`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'npm run dev'.
npm ERR! This is most likely a problem with the react-redux-starter-kit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run dev
npm ERR! You can get their info via:
npm ERR!     npm owner ls react-redux-starter-kit
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /vagrant/lingo-client-react/npm-debug.log

This is the /vagrant/lingo-client-react/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: `npm run dev`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:817:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid [email protected]
11 verbose cwd /vagrant/lingo-client-react
12 error Linux 3.13.0-44-generic
13 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
14 error node v4.1.1
15 error npm  v2.14.4
16 error code ELIFECYCLE
17 error [email protected] start: `npm run dev`
17 error Exit status 1
18 error Failed at the [email protected] start script 'npm run dev'.
18 error This is most likely a problem with the react-redux-starter-kit package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     npm run dev
18 error You can get their info via:
18 error     npm owner ls react-redux-starter-kit
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

from react-redux-starter-kit.

dvdzkwsk avatar dvdzkwsk commented on March 29, 2024

I really can't find much on this besides attempting to reinstall your global and local node_modules.

http://stackoverflow.com/questions/32566022/getting-an-error-related-to-babel-with-reactjs
gaearon/react-hot-boilerplate#11

Have you tried that yet?

from react-redux-starter-kit.

jendiamond avatar jendiamond commented on March 29, 2024

Thanks I'll try that an let you know.

from react-redux-starter-kit.

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.