Unable to create a project - events.js error



  • I’m trying to create a quasar app, but it keeps on failing.

    node: v12.18.1
    npm: 6.14.5
    quasar: 1.1.0

    Installing:
    ? Target directory exists. Continue? Yes
    ? Project name (internal usage for dev) qapp
    ? Project product name (must start with letter if building mobile apps) qapp
    ? Project description A Quasar Framework app
    ? Author xxx
    ? Pick your favorite CSS preprocessor: (can be changed later) Sass
    ? Pick a Quasar components & directives import strategy: (can be changed later) Auto import
    ? Check the features needed for your project: ESLint (recommended), Axios
    ? Pick an ESLint preset: Standard
    ? Continue to install project dependencies after the project has been created? (recommended) yarn

    Quasar CLI · Generated “c:\git\testy\qapp1”.

    [*] Installing project dependencies …

    events.js:292
    throw er; // Unhandled ‘error’ event
    ^
    Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
    Emitted ‘error’ event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
    at onErrorNT (internal/child_process.js:469:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    errno: ‘ENOENT’,
    code: ‘ENOENT’,
    syscall: ‘spawn C:\WINDOWS\system32\cmd.exe’,
    path: ‘C:\WINDOWS\system32\cmd.exe’,
    spawnargs: [ ‘/d’, ‘/s’, ‘/c’, ‘“yarn install”’ ]



  • running quasar create inside the target folder seemed to work


Log in to reply