Comments (4)
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.
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.
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.
Awesome! confirmed it's working now ",
from jspm-cli.
Related Issues (20)
- conditional requirement with top-level await HOT 2
- Github packages and/or repositories HOT 5
- Relative path imports in react-dom (dev), react-intl, semantic-ui-react HOT 2
- Error "Trailing "/" installs not supported installing" when installing react-intl using esm.sh provider HOT 2
- Fix Windows Tests HOT 1
- Certificate issues on ga.jspm.io HOT 1
- Support succinct list of updatable deps, and excluding certain deps in an "update all"
- Development mode for esm.sh HOT 5
- How to achieve intellisense with libraries defined in import maps? HOT 4
- `tailwindcss` Has an `oxide` Error HOT 3
- Dev Watch Serve
- Build lock
- jspm build: Make rollup configuration optional HOT 4
- Windows CI HOT 1
- How to alias react to preact consistently? HOT 9
- No './300.css' exports subpath defined in https://ga.jspm.io/npm:@fontsource/[email protected]/ HOT 3
- `jspm install twind` fails HOT 1
- Feature Request: Respect package.json alias section when resolving dependencies
- ERROR Module not found ABC HOT 1
- esm.sh failing on lit imports HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jspm-cli.