Coder Social home page Coder Social logo

cli-release's People

Contributors

frikki avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cli-release's Issues

Broken with NPM Version 3.x

Although I have only tested this on NPM version 3.5.0, I suspect that this is failing due to the way NPM 3.x structures the node_modules folder. Changing the way that the files are found should solve this issue.

Running with npm 3.5.0 throws the following error

module.js:340
    throw err;
    ^

Error: Cannot find module '/home/tylor/code/moto/storage/node_modules/cli-release/node_modules/.bin/changelog'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:289:25)
    at Function.Module.runMain (module.js:457:10)
    at startup (node.js:138:18)
    at node.js:974:3
child_process.js:507
    throw err;
    ^


Error: Command failed: node /home/tylor/code/moto/storage/node_modules/cli-release/lib/../node_modules/.bin/changelog v0.1.1 CHANGELOG.tmp
module.js:340
    throw err;
    ^

Error: Cannot find module '/home/tylor/code/moto/storage/node_modules/cli-release/node_modules/.bin/changelog'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:289:25)
    at Function.Module.runMain (module.js:457:10)
    at startup (node.js:138:18)
    at node.js:974:3

    at checkExecSyncError (child_process.js:464:13)
    at execSync (child_process.js:504:13)
    at changelog (/home/tylor/code/moto/storage/node_modules/cli-release/lib/release.js:33:3)
    at release (/home/tylor/code/moto/storage/node_modules/cli-release/lib/release.js:51:3)
    at Object.<anonymous> (/home/tylor/code/moto/storage/node_modules/cli-release/lib/release.js:55:1)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)

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.