Skip to content

create new project error #4695

Closed
Closed
@TPORL

Description

@TPORL

Version

4.0.2

Environment info

  System:
    OS: Windows 10
    CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
  Binaries:
    Node: 12.10.0 - D:\nodejs\node.EXE
    Yarn: 1.19.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: C:\Users\TPORL\Desktop>"D:\nodejs\\node.exe"  "D:\nodejs\\node_modules\npm\bin\npm-cli.js" -v
6.11.3 - D:\nodejs\npm.CMD
  Browsers:
    Edge: 44.18362.267.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

  1. yarn global add @vue/cli
  2. vue create my-app
Vue CLI v4.0.2
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Router, Vuex, CSS Pre-processors, Linter
? Use history mode for router? (Requires proper server setup for index fallback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Sass/SCSS (with dart-sass)
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save, Lint and fix on commit
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? No

What is expected?

Successfully created project my-app.

What is actually happening?

yarn install v1.19.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "win32" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.1: The platform "win32" is incompatible with this module.
info "fsevents@2.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
                                                                                                                        success Saved lockfile.
Done in 8.27s.
 ERROR  Error: ENOENT: no such file or directory, open 'C:\Users\TPORL\Desktop\my-app\node_modules\debug\node_modules\ms\index.js'
Error: ENOENT: no such file or directory, open 'C:\Users\TPORL\Desktop\my-app\node_modules\debug\node_modules\ms\index.js'
    at Object.openSync (fs.js:451:3)
    at Object.readFileSync (fs.js:353:35)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:946:22)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at setup (C:\Users\TPORL\Desktop\my-app\node_modules\debug\src\common.js:14:25)
    at Object.<anonymous> (C:\Users\TPORL\Desktop\my-app\node_modules\debug\src\node.js:236:37)
    at Module._compile (internal/modules/cjs/loader.js:936:30)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions