Giter VIP home page Giter VIP logo

Comments (5)

qualisign avatar qualisign commented on June 12, 2024 3

It compiles fine, so I only get these errors in the console at run time:

TypeError: "exports" is read-only[Learn More]  app.js%20line%201219%20%3E%20eval:306:2
	<anonymous> http://localhost:8080/app.js%20line%201219%20%3E%20eval:306:2
	<anonymous> http://localhost:8080/app.js%20line%201219%20%3E%20eval:1:29
	<anonymous> http://localhost:8080/app.js:1219:1
	__webpack_require__ http://localhost:8080/app.js:687:12
	fn http://localhost:8080/app.js:106:20
	<anonymous> http://localhost:8080/app.js%20line%201646%20%3E%20eval:7:3
	<anonymous> http://localhost:8080/app.js:1646:1
	__webpack_require__ http://localhost:8080/app.js:687:12
	fn http://localhost:8080/app.js:106:20
	<anonymous> http://localhost:8080/app.js%20line%201232%20%3E%20eval:10:66
	<anonymous> http://localhost:8080/app.js:1232:1
	__webpack_require__ http://localhost:8080/app.js:687:12
	fn http://localhost:8080/app.js:106:20
	<anonymous> http://localhost:8080/app.js%20line%201658%20%3E%20eval:7:3
	<anonymous> http://localhost:8080/app.js:1658:1
	__webpack_require__ http://localhost:8080/app.js:687:12
	fn http://localhost:8080/app.js:106:20
	<anonymous> http://localhost:8080/app.js%20line%201185%20%3E%20eval:12:63
	<anonymous> http://localhost:8080/app.js:1185:1
	__webpack_require__ http://localhost:8080/app.js:687:12
	fn http://localhost:8080/app.js:106:20
	<anonymous> http://localhost:8080/app.js:1845:18
	__webpack_require__ http://localhost:8080/app.js:687:12
	<anonymous> http://localhost:8080/app.js:784:18
	<anonymous> http://localhost:8080/app.js:1:11

from vue-pdf.

FranckFreiburger avatar FranckFreiburger commented on June 12, 2024 2

I tried to reproduce this error with [email protected] without success.
It seems that this error occurs when one mix esm (import/export) with CommonJS module (require/exports).
Please give more details about the error (file/line number)

from vue-pdf.

FranckFreiburger avatar FranckFreiburger commented on June 12, 2024

What version of webpack do you use ?

from vue-pdf.

qualisign avatar qualisign commented on June 12, 2024

2.3.3

from vue-pdf.

FranckFreiburger avatar FranckFreiburger commented on June 12, 2024

Thanks, see #2

from vue-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.