No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    What is the different between two way to install webpack?

    CLI
    1
    1
    1010
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Samulwong
      Samulwong last edited by

      Dear guys, I tried to init quasar project with following command
      quasar init default#webpack1 quasar2nd
      but shows error as follow:

      pm WARN quasar-framework@0.14.7 requires a peer of quasar-extras@0.x but none is installed. You must install peer dependencies yourself.
      npm WARN karma-sinon-chai@1.3.3 requires a peer of sinon@^2.1.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

      When I run the quasar dev it compiles without any error or warning.
      But the browser just comes with white blank screen and in Chrome dev tool I found an error as below:

      caught SyntaxError: Unexpected token export
      at Object.<anonymous> (app.js:648)
      at webpack_require (app.js:556)
      at fn (app.js:87)
      at eval (eval at <anonymous> (app.js:672), <anonymous>:7:15)
      at Object.<anonymous> (app.js:672)
      at webpack_require (app.js:556)
      at fn (app.js:87)
      at Object.<anonymous> (app.js:587)
      at webpack_require (app.js:556)
      at app.js:579

      After that I tried to init with default template and npm webpack separately, it works well…

      Why it comes error ?
      What is the different between “init with webpack” and install separately?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post