Comments (4)
hmm. running the go server in --dev
i see:
2021/04/05 22:18:56 [debug] get npm package([email protected]) info in 102.999586ms
2021/04/05 22:18:56 [debug] get npm package([email protected]) info in 53.611868ms
2021/04/05 22:18:57 [debug] yarn add [email protected] in 1.396912245s
2021/04/05 22:18:57 [debug] run cjs-module-lexer in 156.045706ms
2021/04/05 22:18:58 [debug] get npm package([email protected]) info in 46.887892ms
2021/04/05 22:18:58 [debug] run cjs-module-lexer in 96.212392ms
2021/04/05 22:18:58 [debug] get npm package([email protected]) info in 43.835077ms
2021/04/05 22:18:58 [debug] get npm package(@types/[email protected]) info in 53.188912ms
2021/04/05 22:18:58 [debug] run cjs-module-lexer in 100.742604ms
2021/04/05 22:18:58 [debug] get npm package([email protected]) info in 72.89589ms
2021/04/05 22:18:58 [debug] run cjs-module-lexer in 90.34535ms
2021/04/05 22:18:58 [debug] get npm package([email protected]) info in 116.118606ms
2021/04/05 22:18:58 [debug] run cjs-module-lexer in 93.434757ms
2021/04/05 22:18:58 [debug] esbuild [email protected] es2020 production in 877.634839ms
2021/04/05 22:18:58 [warn] copyDTS([email protected]/types.d.ts): open /var/folders/nx/8ddl3q8d3cq8r89p8m9rt8gc0000gn/T/esm-build-d5da9ed09184ece4d27ae0ea13779d970c6103df/node_modules/mdast-util-to-markdown/types.d.ts: no such file or directory
2021/04/05 22:18:58 [debug] copy dts in 126.092µs
2021/04/05 22:18:58 [debug] queue([email protected],es2020) done in 2.512612333s
2021/04/05 22:19:29 [debug] yarn add [email protected] in 656.549509ms
2021/04/05 22:19:29 [debug] run cjs-module-lexer in 142.297504ms
2021/04/05 22:19:29 [debug] run cjs-module-lexer in 86.6067ms
2021/04/05 22:19:29 [debug] run cjs-module-lexer in 87.90101ms
2021/04/05 22:19:29 [debug] run cjs-module-lexer in 89.663968ms
2021/04/05 22:19:30 [debug] run cjs-module-lexer in 89.113408ms
2021/04/05 22:19:30 [debug] esbuild [email protected] deno production in 541.494347ms
2021/04/05 22:19:30 [warn] copyDTS([email protected]/types.d.ts): open /var/folders/nx/8ddl3q8d3cq8r89p8m9rt8gc0000gn/T/esm-build-75efe4a5803fc3aa2f50b2a9c78ef5cd254ad358/node_modules/mdast-util-to-markdown/types.d.ts: no such file or directory
2021/04/05 22:19:30 [debug] copy dts in 108.285µs
2021/04/05 22:19:30 [debug] queue([email protected],deno) done in 1.3800372s
2021/04/05 22:19:30 [debug] yarn add [email protected] in 632.932879ms
2021/04/05 22:19:30 [debug] run cjs-module-lexer in 119.20738ms
2021/04/05 22:19:30 [debug] esbuild [email protected] deno production in 3.838324ms
2021/04/05 22:19:31 [debug] get npm package(@types/[email protected]) info in 245.174143ms
2021/04/05 22:19:31 [warn] copyDTS(@types/[email protected]/index.d.ts): open /var/folders/nx/8ddl3q8d3cq8r89p8m9rt8gc0000gn/T/esm-build-775346f04dba8205acd49d2b4ecda090864b95dc/node_modules/@types/unist/index.d.ts: no such file or directory
2021/04/05 22:19:31 [debug] copy dts in 245.964823ms
2021/04/05 22:19:31 [debug] queue([email protected],deno) done in 1.021473065s
2021/04/05 22:19:31 [debug] yarn add [email protected] in 737.459603ms
2021/04/05 22:19:31 [debug] yarn add [email protected] in 726.223697ms
2021/04/05 22:19:31 [debug] yarn add [email protected] in 1.259096431s
2021/04/05 22:19:31 [debug] queue([email protected]/types.d.ts,deno) done in 1.270722046s
2021/04/05 22:19:31 [error] open /var/folders/nx/8ddl3q8d3cq8r89p8m9rt8gc0000gn/T/esm-build-eef99585340b97b0903db2564fa20fcd42e55d7a/node_modules/mdast-util-to-markdown/types.d.ts.js: no such file or directory
2021/04/05 22:19:31 [debug] run cjs-module-lexer in 128.96725ms
2021/04/05 22:19:31 [debug] esbuild [email protected] deno production in 3.820156ms
2021/04/05 22:19:31 [debug] queue([email protected],deno) done in 1.325345036s
2021/04/05 22:19:31 [debug] run cjs-module-lexer in 210.972123ms
2021/04/05 22:19:31 [debug] esbuild [email protected] deno production in 4.3938ms
2021/04/05 22:19:31 [debug] queue([email protected],deno) done in 1.399808505s
2021/04/05 22:19:32 [debug] yarn add [email protected] @types/[email protected] in 1.13239166s
2021/04/05 22:19:32 [debug] run cjs-module-lexer in 89.050787ms
2021/04/05 22:19:32 [debug] esbuild [email protected] deno production in 10.509368ms
2021/04/05 22:19:32 [debug] copy dts in 527.177µs
2021/04/05 22:19:32 [debug] queue([email protected],deno) done in 1.25440358s
2021/04/05 22:19:38 [debug] yarn add [email protected] in 728.253717ms
2021/04/05 22:19:38 [debug] queue([email protected]/types.d.ts,es2020) done in 744.973782ms
2021/04/05 22:19:38 [error] open /var/folders/nx/8ddl3q8d3cq8r89p8m9rt8gc0000gn/T/esm-build-413904a1d3c767a56b2ad4a8af7be3e19623444b/node_modules/mdast-util-to-markdown/types.d.ts.js: no such file or directory
copyDTS
seems to be a common issue 🤔
from esm.sh.
i'm not a go expert, but it seems that this NpmPackage
is being treated like a sub-module, and the fact that it's a std module w/ a top level types
field isn't being respected in build.go
from esm.sh.
mmm, maybe it's https://github.com/syntax-tree/mdast-util-to-markdown/blob/main/package.json -- i see no main or module. but there is an index.js !
very interestingly, this used to work. back on esm.sh v29 (in my deno cache!) i was able to d/l that package!
git checkout 36b70e90d8ccf2c037c5f7d9d9344373c4d8d4c7
run esh.sh, then deno resolves it:
Download http://localhost/v35/[email protected]/types.d.ts
Download http://localhost/v1/[email protected]/deno/types.d.ts.js
Check file:///Users/cdaringe/src/markdown_player/src/bin.ts
regression, perhaps?
from esm.sh.
I just tried to import in v47 and it works now
the issue can be closed safely, @ije
from esm.sh.
Related Issues (20)
- how to get react profiling version
- Failed to import - basehub/react - shows 500 Internal Server Error. - on commit
- Failed to import - @mui/material HOT 6
- Failed to import - openlayers
- All previously built urls are failing HOT 1
- Question: why don't you use yarn pnp
- Self hosted - 405 Response using the npm.pkg.github.com registry HOT 3
- Wrong `x-typescript-types` for `@babel/parser`
- Failed to import - @headlessui/react HOT 3
- Failed to import - [email protected] (previous version works) HOT 3
- Problem with using Monaco with ESM HOT 2
- Failed to import - Cloudscape components
- Failed to set `react` as external dependency
- Failed to set `@use-gesture/core/action` as external dependency HOT 2
- Failed to import - jotai/utils
- Invalid hook call with @react-three/fiber HOT 2
- Failed to import - gh/streamlit/[email protected]/component-lib
- Failed to import - https://esm.sh/@mdxeditor/[email protected]
- No space left on device HOT 1
- Mechanism logic update for managing files 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 esm.sh.