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

Facing issues in creating a new project using Framework7 create and also through UI

Open Abhid14 opened this issue 3 years ago • 4 comments

So In the latest stable version of Framework7-cli I am not able to create new projects using cli and the web interface UI version In both the cases I am stuck at installing npm dependencies I have used Framework7 for quite a good amount of time this is the first I am encountering these issues

D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source>framework7 create √ All good, you have latest framework7-cli version. ? What type of the app are you targeting? PWA (Progressive Web App) ? App (project) name: Ambulance Tracker ? What type of framework do you prefer? Framework7 Core ? Choose starter template: Tabbed Views (Tabs) ? Should we setup project with bundler? Webpack (recommended) ? Do you want to setup CSS Pre-Processor No, i am good with CSS ? Do you want to specify custom theme color? No, use default color theme ? Do you want to include Framework7 Icons and Material Icons icon fonts? Yes, include icon fonts √ Generating package.json √ Creating required folders structure √ Installing NPM Dependencies × Error installing NPM Dev Dependencies npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi' npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address' npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/pinpoint' npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/formula' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\rollup\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code EPERM npm ERR! syscall rename npm ERR! path D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216 npm ERR! dest D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json
npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! [OperationalError: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! cause: [Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! }, npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json', npm ERR! parent: 'application source' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Abhid\AppData\Roaming\npm-cache_logs\2021-04-18T17_08_38_396Z-debug.log

npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi' npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address' npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/pinpoint' npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/formula' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\rollup\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code EPERM npm ERR! syscall rename npm ERR! path D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216 npm ERR! dest D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json
npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! [OperationalError: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! cause: [Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! }, npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json', npm ERR! parent: 'application source' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Abhid\AppData\Roaming\npm-cache_logs\2021-04-18T17_08_38_396Z-debug.log

Abhid14 avatar Apr 18 '21 17:04 Abhid14

I think this is a permission issue, try running using another version of npm.

On Sun, Apr 18, 2021, 6:17 PM Abhishek Das @.***> wrote:

So In the latest stable version of Framework7-cli I am not able to create new projects using cli and the web interface UI version In both the cases I am stuck at installing npm dependencies I have used Framework7 for quite a good amount of time this is the first I am encountering these issues

D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source>framework7 create √ All good, you have latest framework7-cli version. ? What type of the app are you targeting? PWA (Progressive Web App) ? App (project) name: Ambulance Tracker ? What type of framework do you prefer? Framework7 Core ? Choose starter template: Tabbed Views (Tabs) ? Should we setup project with bundler? Webpack (recommended) ? Do you want to setup CSS Pre-Processor No, i am good with CSS ? Do you want to specify custom theme color? No, use default color theme ? Do you want to include Framework7 Icons and Material Icons icon fonts? Yes, include icon fonts √ Generating package.json √ Creating required folders structure √ Installing NPM Dependencies × Error installing NPM Dev Dependencies npm WARN deprecated @.: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated @.: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated @.: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated @.: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated @@.: Switch to 'npm install joi' npm WARN deprecated @@.: Moved to 'npm install @sideway/address' npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @@.: Moved to 'npm install @sideway/pinpoint' npm WARN deprecated @@.: Moved to 'npm install @sideway/formula' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\rollup\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code EPERM npm ERR! syscall rename npm ERR! path D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216 npm ERR! dest D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! [OperationalError: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! cause: [Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! }, npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json', npm ERR! parent: 'application source' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Abhid\AppData\Roaming\npm-cache_logs\2021-04-18T17_08_38_396Z-debug.log

npm WARN deprecated @.: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated @.: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated @.: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated @.: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated @@.: Switch to 'npm install joi' npm WARN deprecated @@.: Moved to 'npm install @sideway/address' npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @@.: Moved to 'npm install @sideway/pinpoint' npm WARN deprecated @@.: Moved to 'npm install @sideway/formula' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\rollup\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code EPERM npm ERR! syscall rename npm ERR! path D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216 npm ERR! dest D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! [OperationalError: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! cause: [Error: EPERM: operation not permitted, rename 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216' -> 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json' npm ERR! }, npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'rename', npm ERR! path: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json.447529216', npm ERR! dest: 'D:\Abhishek Project Files\ambulance tracker\ambulance-tracking-service\application source\node_modules\cli-cursor\package.json', npm ERR! parent: 'application source' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Abhid\AppData\Roaming\npm-cache_logs\2021-04-18T17_08_38_396Z-debug.log

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/framework7io/framework7-cli/issues/145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWJU2IUO6236LHBK5BARNTTJMH3RANCNFSM43ENO3QA .

vimkaf avatar Apr 18 '21 19:04 vimkaf

No improvements ran with admin privileges still the same issue image stuck with this :(

Abhid14 avatar Apr 19 '21 05:04 Abhid14

Also facing the same issue. Stuck at install dev dependencies

paradis-A avatar Oct 14 '21 13:10 paradis-A