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

    [ TypeError: Cannot read property 'charAt' of undefined - only during `quasar run`

    Help
    1
    1
    358
    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.
    • G
      grav last edited by

      When I run quasar run I get the following error:

      ❯ quasar run
      .../node_modules/@quasar/app/lib/app-extension/Extension.js:106
          if (name.charAt(0) === '@') {
                   ^
      [  TypeError: Cannot read property 'charAt' of undefined
        
        - Extension.js:106 new Extension
          [client]/[@quasar]/app/lib/app-extension/Extension.js:106:14
        
        - quasar-run:51 run
          [client]/[@quasar]/app/bin/quasar-run:51:21
        
        - quasar-run:91 Object.<anonymous>
          [client]/[@quasar]/app/bin/quasar-run:91:1
        
        - loader:1108 Module._compile
          node:internal/modules/cjs/loader:1108:14
        
        - loader:1137 Object.Module._extensions..js
          node:internal/modules/cjs/loader:1137:10
        
        - loader:973 Module.load
          node:internal/modules/cjs/loader:973:32
        
        - loader:813 Function.Module._load
          node:internal/modules/cjs/loader:813:14
        
        - loader:997 Module.require
          node:internal/modules/cjs/loader:997:19
        
        - helpers:92 require
          node:internal/modules/cjs/helpers:92:18
        
        - quasar:80 Object.<anonymous>
          [client]/[@quasar]/app/bin/quasar:80:1
        
      ]
      

      But quasar build works just fine.

      I’m also not sure how this happened, I’m pretty sure I haven’t made any changes since this last worked.

      I’ve tried removing node_modules/ and ran quasar clean but the problem persists.

      The problem occurred on both Quasar 2 beta 5 and beta 6.

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