DavidWells / isomorphic-react-example

Deprecated! ReactJS + NodeJS ( express ) demo tutorial with video. Universal/Isomorphic JS = Shared JavaScript that runs on both the client & server.
http://davidwells.io
MIT License
1.69k stars 272 forks source link

won't install #23

Open mattdesl opened 8 years ago

mattdesl commented 8 years ago

Seems like since esprima-six was unpublished from NPM, this example no longer installs.

npm ERR! Darwin 14.0.0
npm ERR! argv "/Users/matt/.nvm/versions/node/v5.0.0/bin/node" "/Users/matt/.nvm/versions/node/v5.0.0/bin/npm" "i"
npm ERR! node v5.0.0
npm ERR! npm  v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/esprima-six
npm ERR! 404 
npm ERR! 404 'esprima-six' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'astw'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     /projects/oss/isomorphic-react-example/npm-debug.log
DavidWells commented 8 years ago

Yeah this repo is super old. PRs welcome for updating it to the latest versions of React and ReactDom

rflmyk commented 8 years ago

I fix my bug with:

  ...
  "dependencies": {
    ...
    "react": "*"
  },
  ...
$ npm update --save

This work for me ;)

rnjailamba commented 8 years ago

Ive done this

{
  "name": "node-authentication",
  "main": "server.js",
  "dependencies": {
    "body-parser": "~1.0.0",
    "cookie-parser": "~1.0.0",
    "ejs": "~0.8.5",
    "express": "~4.0.0",
    "griddle-react": "^0.1.19",
    "path": "*",
    "react": "*"
  },
  "devDependencies": {
    "browserify": "~3.20.0",
    "gulp": "~3.8.9",
    "gulp-browserify": "~0.5.0",
    "gulp-concat": "~2.4.1",
    "node-jsx": "~0.2.0",
    "react-tools": "^0.12.0",
    "reactify": "0.15.2"
  }
}

This is the error i got -


npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/esprima-six
npm ERR! 404 
npm ERR! 404 'esprima-six' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'derequire'

@mayr-ink that didnt work , bye :)