Skip to content

Not able to build #5

@tonyhayes

Description

@tonyhayes

I am using the latest version of the vue cli

Tonys-MacBook-Pro:trisha tony.hayes$ vue --version
@vue/cli 4.2.3

I have run npm install
npm run dev

and I get the following cli error

Tonys-MacBook-Pro:trisha tony.hayes$ npm run dev

trish@1.0.0 dev /Users/tony.hayes/git/trisha
nuxt

/Users/tony.hayes/git/trisha/node_modules/@nuxt/cli/dist/cli-index.js:603
} catch { }
^

SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:607:28)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object. (/Users/tony.hayes/git/trisha/node_modules/@nuxt/cli/dist/cli.js:11:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! trish@1.0.0 dev: nuxt
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the trish@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tony.hayes/.npm/_logs/2021-12-29T20_31_09_524Z-debug.log
Tonys-MacBook-Pro:trisha tony.hayes$

any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions