Giter Site home page Giter Site logo

Comments (4)

guybedford avatar guybedford commented on September 17, 2024

Thanks for reporting... I'm still unable to replicate this. Could you try and work out the exact steps you ran here?

Are you definitely running jspm 0.4.2?

from jspm-cli.

Jarreddebeer avatar Jarreddebeer commented on September 17, 2024

Sure, I ran an 'sudo npm install jspm -g' to update it, and am sitting at:

$ npm list -g | grep 'jspm'
├─┬ [email protected]
│ ├─┬ [email protected]
├─┬ [email protected]
├─┬ [email protected]

here are the exact steps:

$ cd test
$ jspm init
Enter config file location (config.js):
Enter local application code location / baseURL (lib):
Config file updated.
No package.json found, would you like to create one? (y/n):
package.json updated.
Downloading loader files to undefined.
err TypeError: Arguments to path.resolve must be strings
at Object.exports.resolve (path.js:313:15)
at /usr/local/lib/node_modules/jspm/jspm.js:942:20
at Object.Config.verifyJSPMPackages (/usr/local/lib/node_modules/jspm/jspm.js:639:14)
at /usr/local/lib/node_modules/jspm/jspm.js:940:14
at /usr/local/lib/node_modules/jspm/jspm.js:938:7
at Object.JSPM.downloadLoader (/usr/local/lib/node_modules/jspm/jspm.js:939:7)
at /usr/local/lib/node_modules/jspm/jspm.js:931:14
at Object.Config.savePackageJSON (/usr/local/lib/node_modules/jspm/jspm.js:693:5)
at /usr/local/lib/node_modules/jspm/jspm.js:674:16
at /usr/local/lib/node_modules/jspm/jspm.js:1092:9
$

from jspm-cli.

guybedford avatar guybedford commented on September 17, 2024

Thanks SO much for finding this. This is the sort of thing I can miss because I don't have a third eye, but that has probably made 200 users think this project is crap! Really annoying, but glad we caught it.

It was a simple || -> && fix!

I've pushed the fix through, a npm install jspm -fg should fix it.

from jspm-cli.

Jarreddebeer avatar Jarreddebeer commented on September 17, 2024

Awesome! confirmed it's working now ",

from jspm-cli.

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.