anilkumarum / crx-hmr

Chrome extension hot Modules Reloader
MIT License
1 stars 0 forks source link

I have an error here. #1

Open kiccer opened 1 year ago

kiccer commented 1 year ago
PS D:\xxx> npm create crx-hmr
Need to install the following packages:
  create-crx-hmr@1.1.1
Ok to proceed? (y)
TypeError [ERR_INVALID_ARG_TYPE]: The "dest" argument must be of type string or an instance of Buffer or URL. Received undefined
    at cp (node:internal/fs/promises:439:38)
    at file:///C:/Users/xxx/AppData/Local/npm-cache/_npx/bb19c878fe20c9f8/node_modules/create-crx-hmr/bin/cli.js:5:8 {
  code: 'ERR_INVALID_ARG_TYPE'
}
anilkumarum commented 1 year ago

Thanks for opening first issue.

It is window specific error. Method 1. First create project folder and open folder in vs code . then run npm create crx-hmr@latest

Method 2: Use git-bash

I hope this error will be fixed. if not, please comment .