Cant run examples
See original GitHub issueCannot run examples.
Steps to Reproduce
# Clone the repo
git clone https://github.com/KoRiGaN/Vue2Leaflet.git
# Go to examples folder
cd Vue2Leaflet
# Run demo at localhost:8080
$ npm link
$ cd examples
$ npm link vue2-leaflet
$ npm install
# serve with hot reload at localhost:8080
$ npm run dev
Error
ERROR Failed to compile with 15 errors 12:40:18 PM
This dependency was not found:
- vue2-leaflet in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/MarkerPopupExample.vue, ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/CRSAndImageOverlay.vue and 13 others
To install it, you can run: npm install --save vue2-leaflet
Details
node --version
v9.3.0
npm --version
5.6.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
Error cannot run examples · Issue #451 · mavlink/MAVSDK ...
I make run the examples of python mavsdk some examples like takeoff_and_land.py, telemetry.py, telemtry_flight_mode.py ... are examples that ...
Read more >cannot run examples - Installation & Troubleshooting
1st time trying arduino. running ubuntu 12.04 with mega2560. when I try to verify examples such as blink in sketch, I get (cannot...
Read more >Cannot Run Examples on Freedom Studio 2021.04.0
First clear the workspace folder. Open Freedom Studio 2021.04.0, click SiFiveTools->Create a freedom-e-sdk software project. On the pop-up ...
Read more >i cannot run | English examples in context
High quality example sentences with “i cannot run” in context from reliable sources - Ludwig is the linguistic search engine that helps you...
Read more >Cannot run pygame or examples given by pygame in Ubuntu
I am using Ubuntu as my command line and I have installed pygame using pip install pygame . I have also checked with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @VadimCpp,
I found two issues here:
=> I’ve updated outdated package in this project and it should now build correctly.
This removes the linked vue2-leaflet when doing npm install. => You should link the package after installing dependencies:
I’ve updated the README accordingly.
Let me know if this helps.
Micka
Hi, @KoRiGaN
I was able to start up example successfully (just following instruction in Readme) Everything works good now. Thank you.