Questions tagged [skypack-cdn]
7 questions
0
votes
0 answers
npm package not building on Skypack
I just wanted to share an easy to use animated React container that is animated by tracking the mouse. (Preview: https://me-chip.com/)
It is working without any trouble in React and Next.js but if I update the npm packege with the latest version…

Richy
- 165
- 6
0
votes
1 answer
How to use import maps with skypack and versions
Is there a way to use versioned skypack code with importmaps?
I am trying to import codemirror from skypack-cdn. I also want the file to work with the bundlers, like Babel, in the future. It would be very nice to avoid the excessive workflow that…

dooderson
- 547
- 1
- 9
- 16
0
votes
1 answer
Uncaught Error: Service database is not available (Firebase and Skypack)
I'm trying to initialiaze Firebase and get the database reference using Skypack:
import { initializeApp } from 'https://cdn.skypack.dev/@firebase/app'
import { getDatabase, onValue, push, ref, runTransaction } from…

Erik Martín Jordán
- 4,332
- 3
- 26
- 36
0
votes
1 answer
Duplicate identifier 'alpha'.deno-ts(2300) Unexpected keyword or identifier
I am trying to use Alpha Vantage NPM package inside my Deno application. I tried to use SkyPack version of it. But it gives me the following error:
Duplicate identifier 'alpha'.deno-ts(2300)
Unexpected keyword or identifier.
This is the code I am…

Hasani
- 3,543
- 14
- 65
- 125
0
votes
1 answer
Failed to resolve module specifier "three" as of 137
Coming back to some old project, I discover nothing was loading. Checking the console log I see the following:
Uncaught TypeError: Failed to resolve module specifier "three". Relative references must start with either "/", "./", or "../".
In my…

Edward
- 495
- 1
- 6
- 20
0
votes
1 answer
Uncaught SyntaxError: The requested module does not provide an export named 'fs'
I'm not good with javascript. I'm trying to upload a few files to nft.storage as a folder by modifying this example -> https://github.com/nftstorage/nft.storage/blob/main/packages/client/examples/node.js/storeDirectory.js
Instead of uploading via a…

vagef53574
- 53
- 5
0
votes
1 answer
Getting Snowpack to work with the Skypin Rollup plugin
I'm trying to get rollup-plugin-skypin to work with snowpack through snowpack-plugin-rollup-bundle. I have a small project set up like so:
snowpack.config.mjs
// Snowpack Configuration File
// See all supported options:…

TropicalRaisel
- 71
- 1
- 8