Giter Club home page Giter Club logo

Comments (5)

prettymuchbryce avatar prettymuchbryce commented on May 21, 2024

I cannot reproduce the issue on my Mac. The version property in the easystarjs package.json is properly formatted, and is compatible with semver.

Could you post the contents of this file C:\Users\jstaab\Dropbox\programming\node\tetroggle-desktop\npm-debug.log ?

I also recently published 0.1.6. Could you try again, and let me know if you're still seeing the same issue ?

from easystarjs.

staab avatar staab commented on May 21, 2024

Here's the contents of the file:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'easystarjs' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 error Error: Invalid version: "0.1"
5 error     at Object.module.exports.fixVersionField (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\fixer.js:178:13)
5 error     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\normalize.js:29:38
5 error     at Array.forEach (native)
5 error     at normalize (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\node_modules\normalize-package-data\lib\normalize.js:28:15)
5 error     at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:310:33)
5 error     at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:124:33)
5 error     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:299:40
5 error     at fs.js:266:14
5 error     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:103:5
5 error     at Object.oncomplete (fs.js:107:15)
6 error If you need help, you may report this log at:
6 error     <http://github.com/isaacs/npm/issues>
6 error or email it to:
6 error     <[email protected]>
7 error System Windows_NT 6.1.7601
8 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "easystarjs"
9 error cwd C:\Users\jstaab\Dropbox\programming\node\tetroggle-desktop
10 error node -v v0.10.21
11 error npm -v 1.3.11
12 verbose exit [ 1, true ]

I'm beginning to think this is a problem with my installation of npm though, since I get the same thing with other npm commands. If so, sorry about the irrelevant issue; I'm a pretty new noder and don't quite know what to do with their stack traces.

from easystarjs.

prettymuchbryce avatar prettymuchbryce commented on May 21, 2024

What does the package.json look like for your project itself ?

from easystarjs.

staab avatar staab commented on May 21, 2024

facepalm. Yep, it was my project number that was throwing everything off. Thanks for the tip; might've taken me forever to track that down. You can close this issue. Burn it if you like.

Cheers and thanks for the cool package!

from easystarjs.

prettymuchbryce avatar prettymuchbryce commented on May 21, 2024

No worries. I'm glad we found the problem.

from easystarjs.

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.