question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cant run examples

See original GitHub issue

Cannot 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:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
KoRiGaNcommented, Jan 16, 2018

Hi @VadimCpp,

I found two issues here:

  1. You use an up to date version of node and npm and fsevents package was outdated and not compatible with your version.

=> I’ve updated outdated package in this project and it should now build correctly.

  1. How I used to link vue2-leaflet package doesn’t seem to work (don’t know if it is related to new npm version):
$ npm link vue2-leaflet
$ npm install

This removes the linked vue2-leaflet when doing npm install. => You should link the package after installing dependencies:

$ npm install
$ npm link vue2-leaflet

I’ve updated the README accordingly.

Let me know if this helps.

Micka

0reactions
VadimCppcommented, Jan 20, 2018

Hi, @KoRiGaN

I was able to start up example successfully (just following instruction in Readme) Everything works good now. Thank you.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found