xcatliu / pagic

A static site generator powered by Deno + React
https://pagic.org
MIT License
1.65k stars 103 forks source link

Can't install #103

Closed rainzee closed 2 years ago

rainzee commented 2 years ago

image

justjavac commented 2 years ago

我刚试了一下,使用最新版 deno,可以正常安装

rainzee commented 2 years ago

我用--reload可以安装了,但是弹出一个警告,不支持request框架,这个警告可以无视吗?

justjavac commented 2 years ago

截个图,我这儿没有警告啊

rainzee commented 2 years ago
截屏2022-03-28 下午8 48 09
justjavac commented 2 years ago

这个没事儿,因为 Deno 暂时还不支持 requestAnimationFrame,所以 React 使用了 polyfill 的方案

onesmail commented 2 years ago

image 我在windows下安装成功后运行,报上图的错,为什么呢?

justjavac commented 2 years ago

没有配置文件吧

onesmail commented 2 years ago

image 是我截图里的配置文件吗?

justjavac commented 2 years ago

双引号去掉

export default {};
onesmail commented 2 years ago

谢谢,犯了低级错误:sweat_smile:,已经决绝,可以正常运行:thumbsup:。

gaxuhongyu commented 2 years ago

mac安装报错呢:

local@mac:~/deno|⇒  deno install --unstable --allow-read --allow-write --allow-net --allow-run --name=pagic https://deno.land/x/pagic@v1.5.1/mod.ts
Download https://dev.jspm.io/npm:uc.micro@1?dew
Download https://dev.jspm.io/npm:uc.micro@1/properties/Any/regex?dew
Download https://dev.jspm.io/npm:domelementtype@1?dew
Download https://dev.jspm.io/npm:buffer-from@1?dew
Download https://dev.jspm.io/npm:string_decoder@1?dew
Download https://dev.jspm.io/npm:util-deprecate@1?dew
error: Import 'https://dev.jspm.io/npm:domelementtype@1?dew' failed: 500 Internal Server Error
    at https://dev.jspm.io/npm:domhandler@2.4.2/index.dew.js:1:50
xcatliu commented 2 years ago

@gaxuhongyu 500 估计是服务端挂了,稍等再重试吧,或者挂梯子

drizzlesconsin commented 2 years ago
error: Import 'https://dev.jspm.io/npm:uc.micro@1/properties/Any/regex?dew' failed: 500 Internal Server Error

https://dev.jspm.io/npm:uc.micro@1/properties/Any/regex 提示: Internal error on package lookup.

@xcatliu 跟楼上是一样的问题,这个要怎么解。

newwan commented 2 years ago
error: Import 'https://dev.jspm.io/npm:uc.micro@1/properties/Any/regex?dew' failed: 500 Internal Server Error

https://dev.jspm.io/npm:uc.micro@1/properties/Any/regex 提示: Internal error on package lookup.

@xcatliu 跟楼上是一样的问题,这个要怎么解。

外网vps测试也是同样的问题,有大佬解决了没

tianyu0904 commented 2 years ago

https://dev.jspm.io/npm:buffer-from@1?dew https://dev.jspm.io/npm:util-deprecate@1?dew https://dev.jspm.io/npm:uc.micro@1?dew https://dev.jspm.io/npm:domelementtype@1?dew https://dev.jspm.io/npm:uc.micro@1/properties/Any/regex?dew https://dev.jspm.io/npm:string_decoder@1?dew

上面这些包转换失败?

xcatliu commented 2 years ago

jspm 应该已经修复了 dev.jspm.io 无法访问的问题,我已经亲测可安装了