framework7io/framework7-template-tabs

"npm install" fails on Windows 10

LKruglov opened this issue · 0 comments

"npm install" fails at postinstall step on my Windows 10 machine.
Please see console output below.

Note: I copied the files manually as a workaround.

npm version: 5.6.0
node version: v8.9.4

C:\Users\Leonid\Projects\template-tabs>npm install

> framework7-template-tabs@1.0.0 postinstall C:\Users\Leonid\Projects\template-tabs
> npm run copy-f7

> framework7-template-tabs@1.0.0 copy-f7 C:\Users\Leonid\Projects\template-tabs
> cpy 'node_modules/framework7/dist/js/.' www/framework7/js && cpy 'node_modules/framework7/dist/css/.' www/framework7/css && cpy 'node_modules/framework7-icons/fonts/.' www/fonts && cpy 'node_modules/material-design-icons/iconfont/*.{eot,ttf,woff,woff2}' www/fonts

Cannot glob `'node_modules/framework7/dist/js/.'`: Cannot copy from `C:\Users\Leonid\Projects\template-tabs'node_modules\framework7\dist\js*.'` to `C:\Users\Leonid\Projects\template-tabs\www\framework7\js*.'`: cannot stat path `C:\Users\Leonid\Projects\template-tabs'node_modules\framework7\dist\js*.'`: ENOENT: no such file or directory, stat 'C:\Users\Leonid\Projects\template-tabs'node_modules\framework7\dist\js*.''
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! framework7-template-tabs@1.0.0 copy-f7: `cpy 'node_modules/framework7/dist/js/.' www/framework7/js && cpy 'node_modules/framework7/dist/css/.' www/framework7/css && cpy 'node_modules/framework7-icons/fonts/.' www/fonts && cpy 'node_modules/material-design-icons/iconfont/*.{eot,ttf,woff,woff2}' www/fonts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the framework7-template-tabs@1.0.0 copy-f7 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! C:\Users\Leonid\AppData\Roaming\npm-cache_logs\2018-01-07T06_17_28_908Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! framework7-template-tabs@1.0.0 postinstall: `npm run copy-f7`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the framework7-template-tabs@1.0.0 postinstall 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! C:\Users\Leonid\AppData\Roaming\npm-cache_logs\2018-01-07T06_17_28_976Z-debug.log