Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install errors #2

Open
sidjain opened this issue Jan 23, 2016 · 2 comments
Open

npm install errors #2

sidjain opened this issue Jan 23, 2016 · 2 comments

Comments

@sidjain
Copy link

sidjain commented Jan 23, 2016

I just cloned your repository, ran npm install (using npm version 2.10.1) , and get this output:

npm install

npm WARN package.json [email protected] No license field.
npm WARN deprecated [email protected]: Please use gulp-cssnano instead.
npm WARN deprecated [email protected]: package is no longer maintained
npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
npm WARN deprecated [email protected]: Use the "buffer" module (https://www.npmjs.com/package/buffer) instead
npm ERR! Linux 4.1.5-x86_64-linode61
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
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 'syntax-error'
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! /var/www/dockvine/backbone-marionette-gulp-seed/npm-debug.log

@sidjain
Copy link
Author

sidjain commented Jan 23, 2016

I got it to work, but I'm using a forked version of your repo with some additional modifications. Here's what I had to do:

  1. Try using this package.json file:

{
"name": "settings",
"version": "1.0.0",
"description": "This is a sample Todos seed application using Backbone.js, Marionette.js, Twitter Bootstrap 3, Stylus, Jade and Coffeescript all bundled with Gulp.js",
"main": "gulpfile.js",
"devDependencies": {
"browserify": "^13.0.0",
"del": "^2.2.0",
"fs": "0.0.2",
"gulp": "^3.9.0",
"gulp-browserify": "^0.5.1",
"gulp-coffee": "^2.3.1",
"gulp-concat": "^2.6.0",
"gulp-cssnano": "^2.1.0",
"gulp-htmltidy": "^0.2.2",
"gulp-jade": "^1.1.0",
"gulp-livereload": "^3.8.1",
"gulp-plumber": "^1.0.1",
"gulp-preprocess": "^2.0.0",
"gulp-replace-task": "^0.11.0",
"gulp-stylus": "^2.2.0",
"gulp-uglify": "^1.5.1",
"jade": "^1.11.0",
"jadeify": "^4.6.0",
"nib": "^1.1.0"
},
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "",
"license": "ISC"
}

  1. add this to the gulpfile:

var nib = require('nib');

  1. In the part of the gulpfile hwere you compile stylus, change:
    .pipe(stylus({ use['nib']}))

to

.pipe(stylus({ use: nib() }))

@iampeter
Copy link
Owner

Well the repo is quite unmaintained, and - like you noticed - some libraries changed since.

Maybe you'd like to fork and create a pull request with your fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants