Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies error #508

Closed
a-mann opened this issue Jul 19, 2022 · 3 comments
Closed

Dependencies error #508

a-mann opened this issue Jul 19, 2022 · 3 comments
Assignees
Labels

Comments

@a-mann
Copy link

a-mann commented Jul 19, 2022

After updating open layers to 6.15 some of the files were deleted. For example ol/source/State.js
This causes build errors

Module not found: Error: Can't resolve 'ol/source/State' in '/home/gitlab-runner/builds/ ... /node_modules/vuelayers/dist'
 error  in ./node_modules/vuelayers/dist/mixins.js

ol git

end
Can't resolve 'ol/geom/GeometryType'
Can't resolve 'ol/source/WMSServerType'
Can't resolve 'ol/extent/Corner'
Can't resolve 'ol/OverlayPositioning'

@kgolding
Copy link

I'm suffering the same issue. As a workaround I have "ol": "6.14.1", in my package.json along with "vuelayers": "^0.12.3"

@infokartasplit
Copy link

infokartasplit commented Jul 20, 2022

same issue, @kgolding didnt work for me

 ERROR  Failed to compile with 5 errors                                                                                                                                               friendly-errors 13:51:40  

These dependencies were not found:                                                                                                                                                    friendly-errors 13:51:40  
                                                                                                                                                                                      friendly-errors 13:51:40  
* ol/OverlayPositioning in ./node_modules/vuelayers/dist/vuelayers.esm.js                                                                                                             friendly-errors 13:51:40  
* ol/extent/Corner in ./node_modules/vuelayers/dist/vuelayers.esm.js                                                                                                                  friendly-errors 13:51:40  
* ol/geom/GeometryType in ./node_modules/vuelayers/dist/vuelayers.esm.js                                                                                                              friendly-errors 13:51:40  
* ol/source/State in ./node_modules/vuelayers/dist/mixins.js                                                                                                                          friendly-errors 13:51:40  
* ol/source/WMSServerType in ./node_modules/vuelayers/dist/mixins.js                                                                                                                  friendly-errors 13:51:40  
                                                                                                                                                                                      friendly-errors 13:51:40  
To install them, you can run: npm install --save ol/OverlayPositioning ol/extent/Corner ol/geom/GeometryType ol/source/State ol/source/WMSServerType                                  friendly-errors 13:51:40  

 WARN  Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'   

MY dependancies:


"dependencies": {
        "@babel/preset-env": "^7.12.13",
        "@mapbox/vector-tile": "^1.3.1",
        "@nuxtjs/auth-next": "5.0.0-1622918202.e815752",
        "@nuxtjs/axios": "^5.13.1",
        "@nuxtjs/proxy": "^2.1.0",
        "@nuxtjs/pwa": "^3.3.5",
        "@nuxtjs/robots": "^2.5.0",
        "@nuxtjs/sitemap": "^2.4.0",
        "@tmcw/togeojson": "^4.5.0",
        "@turf/turf": "^6.5.0",
        "@vue/composition-api": "^0.3.2",
        "base-64": "^1.0.0",
        "bootstrap": "^4.6.0",
        "bootstrap-vue": "^2.21.2",
        "bootstrap-vue-editable-table": "^0.1.7",
        "chart.js": "^3.6.1",
        "chartjs-plugin-datalabels": "^2.0.0",
        "child_process": "^1.0.2",
        "client-compress": "^2.2.2",
        "console": "^0.7.2",
        "core-js": "^3.9.1",
        "css-loader": "^5.1.1",
        "dayjs": "^1.10.5",
        "deep-diff": "^1.0.2",
        "dom-to-image": "^2.6.0",
        "downloadjs": "^1.4.7",
        "draggable-vue-directive": "^2.1.0",
        "easy-pdf-merge": "^0.2.5",
        "export-to-csv": "^0.2.1",
        "express-vue": "^4.0.14",
        "file-saver": "^2.0.5",
        "geojson-extent": "^0.3.2",
        "html2pdf.js": "^0.10.1",
        "js-file-download": "^0.4.12",
        "jspdf-autotable": "^3.5.23",
        "jszip": "^3.10.0",
        "load-bmfont": "^1.4.1",
        "lodash": "^4.17.21",
        "mapbox-vector-tile": "^0.3.0",
        "mapillary-js": "^4.0.0",
        "node-sass": "^6.0.1",
        "nuxt": "^2.15.8",
        "nuxt-mq": "^2.0.2",
        "nuxt-socket-io": "^1.1.17",
        "ol": "^6.14.1",
        "ol-ext": "^3.2.28",
        "pbf": "^3.2.1",
        "pdf-merge": "^1.2.0",
        "proj4": "^2.7.2",
        "reproject": "^1.2.6",
        "shpjs": "^4.0.2",
        "three": "^0.134.0",
        "three-bmfont-text": "^2.3.0",
        "three-css3drenderer": "^1.0.1",
        "transform-coordinates": "^1.0.0",
        "troika-3d-text": "^0.44.0",
        "troika-three-text": "^0.44.0",
        "utf8": "^3.0.0",
        "vector-tile": "^1.3.0",
        "vue": "^2.6.12",
        "vue-draggable-card": "0.0.4",
        "vue-easy-lightbox": "^0.16.2",
        "vue-excel-editor": "^1.5.7",
        "vue-kanban": "^1.8.0",
        "vue-resize-directive": "^1.2.0",
        "vue-server-renderer": "^2.6.12",
        "vue-template-compiler": "^2.6.12",
        "vue-use-web": "^1.0.1",
        "vuedraggable": "^2.24.3",
        "vuelayers": "^0.12.3",
        "vuequery": "^2.1.1",
        "vuex": "^3.6.2",
        "vuex-persistedstate": "^4.0.0",
        "webpack": "^4.46.0",
        "wellknown": "^0.5.0",
        "wkx": "^0.5.0",
        "xml": "^1.0.1",
        "xml2js": "^0.4.23"
    },
    "devDependencies": {
        "@nuxtjs/eslint-config": "^5.0.0",
        "@nuxtjs/eslint-module": "^3.0.2",
        "@nuxtjs/google-fonts": "^1.3.0",
        "@nuxtjs/pwa": "^3.3.5",
        "babel-eslint": "^10.1.0",
        "cypress": "^7.2.0",
        "eslint": "^7.24.0",
        "eslint-plugin-nuxt": "^2.0.0",
        "eslint-plugin-vue": "^7.9.0",
        "fs": "0.0.1-security",
        "resolve-url-loader": "^4.0.0",
        "sass-loader": "^10.1.1"
    }

Please help

ghettovoice added a commit that referenced this issue Jul 31, 2022
ghettovoice added a commit that referenced this issue Jul 31, 2022
@ghettovoice
Copy link
Owner

Hello all!
Sorry for delay.
ol team removed in v6.15 several enum types that I used in the vuelayers, htis was the issue.
The issue has fixed in v0.12.4, upgrade pls.

@ghettovoice ghettovoice self-assigned this Jul 31, 2022
ghettovoice added a commit that referenced this issue Aug 11, 2022
ghettovoice added a commit that referenced this issue Aug 11, 2022
- fix dependency issues #508, #509, #510
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants