Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,279
Community Members
 
Community Events
168
Community Groups

Getting Error while executing npm i

28-Apr-2021 22:21:37 W:\bamboo-build\AS-IAD-JOB1\I>npm i
28-Apr-2021 22:21:42 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
28-Apr-2021 22:21:52
28-Apr-2021 22:21:52 > cypress@6.1.0 postinstall W:\bamboo-build\AS-IAD-JOB1\Projectpath\cypress
28-Apr-2021 22:21:52 > node index.js --exec install
28-Apr-2021 22:21:52
28-Apr-2021 22:21:53 internal/modules/cjs/loader.js:960
28-Apr-2021 22:21:53 throw err;
28-Apr-2021 22:21:53 ^
28-Apr-2021 22:21:53
28-Apr-2021 22:21:53 Error: Cannot find module 'mimic-fn'
28-Apr-2021 22:21:53 Require stack:
28-Apr-2021 22:21:53 - W:\bamboo-build\AS-IAD-JOB1\Projectpath\node_modules\execa\node_modules\onetime\index.js
28-Apr-2021 22:21:53 - W:\bamboo-build\AS-IAD-JOB1\Projectpath\node_modules\execa\index.js
28-Apr-2021 22:21:53 - W:\bamboo-build\AS-IAD-JOB1\Projectpath\node_modules\cypress\lib\util.js
28-Apr-2021 22:21:53 - W:\bamboo-build\AS-IAD-JOB1\Projectpath\node_modules\cypress\index.js
28-Apr-2021 22:21:53 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
28-Apr-2021 22:21:53 at Function.Module._load (internal/modules/cjs/loader.js:840:27)
28-Apr-2021 22:21:53 at Module.require (internal/modules/cjs/loader.js:1019:19)
28-Apr-2021 22:21:53 at require (internal/modules/cjs/helpers.js:77:18)
28-Apr-2021 22:21:53 at Object.<anonymous> (W:\bamboo-build\AS-IAD-JOB1\Projectpath\node_modules\execa\node_modules\onetime\index.js:2:17)
28-Apr-2021 22:21:53 at Module._compile (internal/modules/cjs/loader.js:1133:30)
28-Apr-2021 22:21:53 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
28-Apr-2021 22:21:53 at Module.load (internal/modules/cjs/loader.js:977:32)
28-Apr-2021 22:21:53 at Function.Module._load (internal/modules/cjs/loader.js:877:14)
28-Apr-2021 22:21:53 at Module.require (internal/modules/cjs/loader.js:1019:19) {
28-Apr-2021 22:21:53 code: 'MODULE_NOT_FOUND',
28-Apr-2021 22:21:53 requireStack: [
28-Apr-2021 22:21:53 'W:\\bamboo-build\\AS-IAD-JOB1\\Projectpath\\node_modules\\execa\\node_modules\\onetime\\index.js',
28-Apr-2021 22:21:53 'W:\\bamboo-build\\AS-IAD-JOB1\\Projectpath\\node_modules\\execa\\index.js',
28-Apr-2021 22:21:53 'W:\\bamboo-build\\AS-IAD-JOB1\\Projectpath\\node_modules\\cypress\\lib\\util.js',
28-Apr-2021 22:21:53 'W:\\bamboo-build\\AS-IAD-JOB1\\Projectpath\\node_modules\\cypress\\index.js'
28-Apr-2021 22:21:53 ]
28-Apr-2021 22:21:53 }
28-Apr-2021 22:21:53 npm WARN rollback Rolling back @types/sinonjs__fake-timers@6.0.2 failed (this is probably harmless): EPERM: operation not permitted, rmdir 'W:\bamboo-build\AS-IAD-JOB1\Projectpath\node_modules\@types'
28-Apr-2021 22:21:55 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\cypress-cucumber-preprocessor\node_modules\chokidar\node_modules\fsevents):
28-Apr-2021 22:21:55 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
28-Apr-2021 22:21:55 npm WARN Automation@0.0.1 No repository field.
28-Apr-2021 22:21:55 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents):
28-Apr-2021 22:21:55 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
28-Apr-2021 22:21:55 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\mocha\node_modules\fsevents):
28-Apr-2021 22:21:55 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
28-Apr-2021 22:21:55
28-Apr-2021 22:21:55 npm ERR! code ELIFECYCLE
28-Apr-2021 22:21:55 npm ERR! errno 1
28-Apr-2021 22:21:55 npm ERR! cypress@6.1.0 postinstall: `node index.js --exec install`
28-Apr-2021 22:21:55 npm ERR! Exit status 1
28-Apr-2021 22:21:55 npm ERR!
28-Apr-2021 22:21:55 npm ERR! Failed at the cypress@6.1.0 postinstall script.
28-Apr-2021 22:21:55 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
28-Apr-2021 22:21:55
28-Apr-2021 22:21:55 npm ERR! A complete log of this run can be found in:
28-Apr-2021 22:21:55 npm ERR! C:\Users\svcacct-tlrbuild\AppData\Roaming\npm-cache\_logs\2021-04-28T10_21_55_299Z-debug.log
28-Apr-2021 22:21:55 Failing task since return code of [C:\Users\svcacct-tlrbuild\bamboo-agent-home\temp\AS-IAD-JOB1-61-ScriptBuildTask-1081084791305175888.bat] was 1 while expected 0

 

 

Please help me to resolve that isssue

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events