iview-cli icon indicating copy to clipboard operation
iview-cli copied to clipboard

Build errors and missing documentation

Open devSarry opened this issue 8 years ago • 0 comments

I've been trying to create a project using the cli tool in a Windows 10 environment and have been running into a range of issues. I'll list the ones I've noticed. Please tell me if I am doing something wrong.

  1. It is not documented anywhere that you should first run npm run init before running npm run dev
  2. After running npm install you get the error Module not found: Error: Can't resolve 'iview-loader' when trying to run npm run init so I'm guess theres missing packages in the package.json file.
  3. After installing the missing packages you get this error Module not found: Error: Can't resolve 'less-loader' it seems like the cli tool doesnt properly generate the webpack config files for sass.

devSarry avatar Dec 01 '17 11:12 devSarry