Giter Site home page Giter Site logo

部署 about footprint HOT 7 OPEN

msailim avatar msailim commented on June 19, 2024
部署

from footprint.

Comments (7)

KurococLiu avatar KurococLiu commented on June 19, 2024 1

@arthurfsy2python版本是3.11.3 ,应该是这个引起的,用python2的环境

使用npm及pnpm均部署失败
nodejs:20.12.1
npm:10.5.1
python2:2.7.18
python:3.12.1

from footprint.

yc111 avatar yc111 commented on June 19, 2024

Fork 本项目后然后再clone到本地修改,
进入项目目录执行npm i安装依赖,
执行npm start,浏览器打开http://localhost:5000/预览效果,
修改src/config/place.config.js,就可以定制你的足迹地图了。

如有疑问请继续给我提issue,我会在看到后尽快回复。
PS:最近我会重构一版,让配置更方便。

from footprint.

arthurfsy2 avatar arthurfsy2 commented on June 19, 2024

请问npm install安装依赖,报错
本人用的nodejs是18.15
npm版本是9.6.3、
python版本是3.11.3

from footprint.

LiteraturePro avatar LiteraturePro commented on June 19, 2024

@arthurfsy2 python版本是3.11.3 ,应该是这个引起的,用python2的环境

from footprint.

LiteraturePro avatar LiteraturePro commented on June 19, 2024

@arthurfsy2python版本是3.11.3 ,应该是这个引起的,用python2的环境

使用npm及pnpm均部署失败 nodejs:20.12.1 npm:10.5.1 python2:2.7.18 python:3.12.1

暂时没找到问题,我每次调试的时候,就是用cloudflare的pages和https://vercel.com/部署后的页面来看效果,这个两个工具可以部署,你看下可不可以曲线救国下

from footprint.

KurococLiu avatar KurococLiu commented on June 19, 2024

@arthurfsy2python版本是3.11.3 ,应该是这个引起的,用python2的环境

使用npm及pnpm均部署失败 nodejs:20.12.1 npm:10.5.1 python2:2.7.18 python:3.12.1

暂时没找到问题,我每次调试的时候,就是用cloudflare的pages和https://vercel.com/部署后的页面来看效果,这个两个工具可以部署,你看下可不可以曲线救国下

Vercel报错,信息如下:

npm ERR! code CERT_HAS_EXPIRED

15:53:18.255 | npm ERR! errno CERT_HAS_EXPIRED
15:53:18.256 | npm ERR! request to https://registry.npm.taobao.org/zrender/download/zrender-4.1.0.tgz?cache=0&sync_timestamp=1567175820516&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fzrender%2Fdownload%2Fzrender-4.1.0.tgz failed, reason: certificate has expired
15:53:18.270 |  
15:53:18.270 | npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2024-04-10T07_51_47_453Z-debug-0.log
15:53:18.295 | Error: Command "npm install" exited with 1

from footprint.

LiteraturePro avatar LiteraturePro commented on June 19, 2024

@arthurfsy2python版本是3.11.3 ,应该是这个引起的,用python2的环境

使用npm及pnpm均部署失败 nodejs:20.12.1 npm:10.5.1 python2:2.7.18 python:3.12.1

暂时没找到问题,我每次调试的时候,就是用cloudflare的pages和https://vercel.com/部署后的页面来看效果,这个两个工具可以部署,你看下可不可以曲线救国下

Vercel报错,信息如下:

npm ERR! code CERT_HAS_EXPIRED

15:53:18.255 | npm ERR! errno CERT_HAS_EXPIRED 15:53:18.256 | npm ERR! request to https://registry.npm.taobao.org/zrender/download/zrender-4.1.0.tgz?cache=0&sync_timestamp=1567175820516&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fzrender%2Fdownload%2Fzrender-4.1.0.tgz failed, reason: certificate has expired 15:53:18.270 |   15:53:18.270 | npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2024-04-10T07_51_47_453Z-debug-0.log 15:53:18.295 | Error: Command "npm install" exited with 1

上面的问题不就是镜像源的问题吗,把package-lock.json整个文件删除,上面的问题就没了,

如果Vercel还报错,应该是会发现是package.json中的node-sass这个包装不上,其他包装的上,需要搞定安装node-sass,我拿Codespaces怎么调试都搞不好。我也不是搞这行的,作者应该也没时间看,

from footprint.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.