Skip to content

ENOENT: no such file or directory upon project initialisation #668

@JonasTheGamer

Description

@JonasTheGamer

Describe the bug
Hi, I was following this tutorial:
https://www.sitepoint.com/build-vue-chrome-extension/

This section assumes that you have Node and npm installed on your computer. If this isn’t the case, you can either head to the project’s home page and grab the relevant binaries for your system, or you can use a version manager. I would recommend using a version manager.

I have node v12.14.1 and npm v6.13.4 installed. I'm on a windows 10 machine.

The next steps are to run the following commands to install everything that is needed:
npm install -g @vue/cli npm install -g @vue/cli-init

Great! That's done, now I need to initialize my project.

vue init kocal/vue-web-extension new-tab-page

That returns this error:

image

I tried rebooting, same result. I tried moving all contents from your template folder into another folder called "template" so it would find it but when running that command again it just put everything back to normal and guess what? Gave the error..

How would I resolve this issue? Thanks in advance for your reply.

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