[4.6] OCI - Build plugins jobs failing at npm install #58
-
env details: sunbird 4.6 on OCI e.g when running Build/Plugins/CollectionEditor with release-3.6.0_RC1 getting the below error npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm ERR! ENOTDIR: not a directory, open '/var/lib/jenkins/workspace/Build/Plugins/CollectionEditor/node_modules/.staging/@types/node-71551420/package.json' npm ERR! Please include the following file with any support request: [Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 5 replies
-
@ddevadat I see that your node version is quite old |
Beta Was this translation helpful? Give feedback.
-
The npm and node version are below
however the default version is
Somehow the jenkins build job is using the default ones. How do i change this behaviour |
Beta Was this translation helpful? Give feedback.
-
There is no nodejs installed in the above navigation in jenkins. Note that these jobs have successfully executed in the past. Its only failing when trying to run the build job again. Is there any clean up to be done if the jobs need to be run again |
Beta Was this translation helpful? Give feedback.
-
any update on this issue |
Beta Was this translation helpful? Give feedback.
-
For the job Build/Plugins/CollectionEditor,
its now failing at /var/lib/jenkins/.nvm/versions/node/v12.16.1/bin/npm run test with the below error
|
Beta Was this translation helpful? Give feedback.
-
is there any workaround or fix for this issue.
|
Beta Was this translation helpful? Give feedback.
-
any update on this issue |
Beta Was this translation helpful? Give feedback.
-
heres what i tried
After doing this Build/Plugins/CollectionEditor -- successfull
The job Build/Plugins/GenericEditor is referring |
Beta Was this translation helpful? Give feedback.
-
@sharathkashyap Can we look into this and work with the reported to mark this closed? |
Beta Was this translation helpful? Give feedback.
-
Hello @ddevadat , |
Beta Was this translation helpful? Give feedback.
Hello @ddevadat ,
There has been couple of issues reported in other threads as well on similar grounds. Kindly have a look if this helps.
https://github.com/orgs/Sunbird-Ed/discussions/88#discussioncomment-3453311