question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install from jspm

See original GitHub issue

Is your feature request related to a problem? Please describe. It should be easier to install npm packages with Trex.

Describe the solution you’d like A new install flag --npm (or something comparable) for installing from jspm.dev

Describe alternatives you’ve considered Manual install with full URL or from a repository.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
buttercubzcommented, Feb 14, 2021

So to be clear you are not open to this feature at this point? Even if I implemented it? NPM still remains the largest registry for JS/TS modules, and skypack as far as I know is the best way to access it from within Deno.

you are right skypack and esm.sh are the ones who offer better compatibility with deno in npm packages, but adding more flags would be very verbose since if more records are created such as skypack or esm.sh it would also be necessary to create flags for it, --custom exists in order not to add more flags for different registers>

example from skypack

trex --custom conffeti=https://cdn.skypack.dev/canvas-confetti?dts

example from esh.sh

trex --custom react=https://esm.sh/react@17.0.1
0reactions
buttercubzcommented, Feb 16, 2022

for any case of external cdn the --custom command will meet the needs

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Packages - JSPM
Read more about configuring installed packages for jspm here. Versioning. Install exact versions of packages by specifying the version in the install command:...
Read more >
jspm - npm
Install · Weekly Downloads · Version · License · Unpacked Size · Total Files · Last publish · Collaborators.
Read more >
difference between jspm install and npm install - Stack Overflow
npm and jspm are both package managers. npm is used for the node ecosystem, and traditionally served back-end dependencies.
Read more >
Setup with JSPM - Aurelia
Open a console and change directory into your app's directory. Execute the following command to install the dependencies listed in the devDependencies section ......
Read more >
error while installing jspm packages · Issue #129 - GitHub
I am getting the below error, for installing jspm packages. i hhave verified the credentials its fine. Please let me know what could...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found