ModuleNotFoundError: Could not find module in path: 'quasar-framework'



  • when I’m using quasar in sandbox, I encounter this error from this morning, it’s working well before.
    anyone has some ideas on this?

    error log:
    Unhandled Rejection (Error)
    Cannot find module ‘quasar-framework’ from ‘/’
    Error: Cannot find module ‘quasar-framework’ from ‘/components/’
    ModuleNotFoundError: Could not find module in path: ‘quasar-framework’



  • By sandbox do you mean jsfiddle?

    If not, make sure node version is 8 +



  • @benoitranque said in ModuleNotFoundError: Could not find module in path: 'quasar-framework':

    jsfiddle

    It’s CodeSandbox.
    Previously it’s working fine all the time, but from this morning, the project can not be opened.
    below is the project web home page, you can see the error is ‘Unhandled Rejection (Error) Cannot find module ‘quasar-framework’ from ‘/’’
    https://mo0ooy4pl9.codesandbox.io/

    Even I created a new project in codesandbox, added quasar-framework dependency, same error encountered. looks like quasar-framework doesn’t work in codesandbox any more, don’t know it’s a temporary issue or got banned.



  • You must use the UMD version of quasar. Here is a link to a working jsfiddle in case it can help



  • @benoitranque
    yes, I saw this jsfiddle example, do you have any code sandbox example for reference? cause in Sandbox, it’s a vue project, I’m wondering how to add quasar into it.
    previously I import components from quasar-framework directly, but after upgrading to 0.15.1, it didn’t work anymore.

    in other words, if I want to add 0.15.1 version quasar into an existing Vue project, do you know how to do it?


Log in to reply