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.

Import doesn't work

See original GitHub issue
import Editor from 'vue-editor-js';


but getting

 ERROR  Failed to compile with 1 errors     

This dependency was not found:

* vue-editor-js in ./resources/js/app.js

To install it, you can run: npm install --save vue-editor-js
       Asset      Size   Chunks             Chunk Names
/css/app.css  1.99 MiB  /js/app  [emitted]  /js/app
  /js/app.js     2 MiB  /js/app  [emitted]  /js/app

ERROR in ./resources/js/app.js
Module not found: Error: Can't resolve 'vue-editor-js' in '/resources/js'
 @ ./resources/js/app.js 7:0-35 11:8-14
 @ multi ./resources/js/app.js ./resources/sass/app.scss

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

kumoldcommented, Feb 24, 2021

Again, doesn’t work, pls add dist version.

hotrushcommented, Jun 11, 2020


Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Import not Working - Stack Overflow
If everything I imported ( import numpy ) in shows up in, the API of my library won't be that clean...
Read more >
5. The import system — Python 3.11.1 documentation
Python code in one module gains access to the code in another module by the process of importing it. The import statement is...
Read more >
How to use Python import | The Dev Project - Medium
Understand how to use Python imports, the difference between Absolute import and Relative. Learn once for all and improve your project.
Read more >
Traps for the Unwary in Python's Import System
The problem I am having is that a module I created, that has simple functions in it, is located someplace nowhere near my...
Read more >
go/build: Import doesn't work as expected with modules #31821
Create some file that imports the package: package mypkg; import "" type SomeInterface interface { SomeFunction() ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found