Comments (9)
当我点击任意error的输出,当尝试下断点时(不点击断点时可以看到文件,如图1),提升文件不存在
at set (:5175/node_modules/.vite/deps/chunk-2Z5DFVVG.js?v=cd940b55:38)
Could not load content for http://localhost:5175/node_modules/.pnpm/[email protected]/node_modules/ol/src/transform.js (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
from wind-layer.
@chen21439 直接根目录执行
pmpm i
pnpm run dev
# or
pnpm run build
# or
pnpm run build:minify
关于 workspaces 的概念可以查看这个 https://pnpm.io/zh/workspaces
from wind-layer.
我将自己打包的ol-wind覆盖了直接从npm下载的,就复现了这个问题,请问下你上次上传到npm的ol-wind也是现在master版本么,还有你的node版本号是多少
from wind-layer.
当我将plyaground中package.json中引用的ol-wind(^1.1.4)和wind-core(^1.1.3)改成使用npm下载时,playground项目就正常运行
from wind-layer.
我看到依赖中有旧版本的openlayer4.6.5,不知道是不是这个原因引起的。
from wind-layer.
npm上ol-wind现在的版本是1.14,github上最新的release是1.12,麻烦你更新一下哈 @sakitam-fdd
from wind-layer.
- 添加图层报错的问题我这边本地无法复现,这个比较奇怪
- release 更新可能得过段时间,有几个功能没开发完
- 这里有一个我这边打包的 ol
dist.zip
from wind-layer.
@chen21439 可能原因是 github 代码不是最新的,关于 ol 的后面有些修改,我这两周整理一下更新一下
from wind-layer.
更新一下代码再试下:
pnpm 会自动处理依赖关系,不需要手动执行 pnpm add pkg -r
git pull
pnpm i
cd ./packages/core
pnpm run build
cd ../ol
pnpm run build
cd ../../playground/
pnpm start
另外 npm 和 github的release 已更新,此问题先关闭
from wind-layer.
Related Issues (20)
- maptalks版本依赖问题 HOT 1
- The mapbox-wind's particles and scalarFill layer cannot overlap with each other HOT 3
- wind layer bounds decrease as zoom increases HOT 8
- 色斑图错位 HOT 7
- 气象上的windbarb是否支持 HOT 1
- When mapbox loads windlayer, it ends at 180 degrees east longitude HOT 1
- ol-wind加载流场 在隐藏图层/显示图层 后流场的流动效果停止 HOT 2
- 粒子绘制过程中会产生轨迹残留,影响视觉效果,如何解决呢。求助,急!!! HOT 1
- 移动端没有适配 HOT 1
- openlayers 叠加色斑图 HOT 1
- 风场在跨东经180度时断开 HOT 1
- 高德api2.0版本报错 HOT 1
- 高德地图报错
- 高德2.0报错,什么时候更新对2.0的支持?报错信息如下: HOT 3
- 引入mapbox-wind找不到ScalarFill、WindLayer等类 HOT 1
- 关于mapbox-wind示例代码运行报错,导入的WindLayer, ScalarFill都为undefined HOT 1
- 风场跨东西半球,风场只显示一半的问题 HOT 2
- 地图缩放后风场有轨迹残留问题
- Issues with toggling the wind layer HOT 1
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 wind-layer.