airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AIRAVATA-2951) Django JS build failure: npm install fails with "enoent ENOENT: no such file or directory..."
Date Mon, 19 Nov 2018 21:32:00 GMT


ASF subversion and git services commented on AIRAVATA-2951:

Commit e69def57d8d202a802a4185cdcc0314993b319a0 in airavata-django-portal's branch refs/heads/simccs
from [~marcuschristie]
[;h=e69def5 ]

AIRAVATA-2951 Removing package-lock.json files

> Django JS build failure: npm install fails with "enoent ENOENT: no such file or directory..."
> ---------------------------------------------------------------------------------------------
>                 Key: AIRAVATA-2951
>                 URL:
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
> npm install error:
> Sporadically npm install and build fails. Could be related to having local package references.
Deleting the package-lock.json files seems to fix the issue and the package-lock.json files
seem to be the culprit. I'm proposing that we just remove the package-lock.json files since
> # I'm seeing a lot of churn in these files. Doing {{npm install}} twice will often result
in changes in the file even though that shouldn't be possible. So I'm not even sure what benefit
they would provide if there weren't causing build problems.
> # We're not the only ones running into this problem and looks like there are still unresolved
issues in npm (
> Error message:
> {noformat}
> npm ERR! path /data/portals/django-seagrid/airavata-django-portal/django_airavata/static/common/node_modules/.staging/django-airavata-api-41f718eb/node_modules/ansi-regex
> npm ERR! code ENOENT
> npm ERR! errno -2
> npm ERR! syscall rename
> npm ERR! enoent ENOENT: no such file or directory, rename '/data/portals/django-seagrid/airavata-django-portal/django_airavata/static/common/node_modules/.staging/django-airavata-api-41f718eb/node_modules/ansi-regex'
-> '/data/portals/django-seagrid/airavata-django-portal/django_airavata/static/common/node_modules/.staging/ansi-regex-67ed7b67'
> npm ERR! enoent This is related to npm not being able to find a file.
> npm ERR! enoent 
> npm ERR! A complete log of this run can be found in:
> npm ERR!     /home/pga/.npm/_logs/2018-11-19T19_30_32_316Z-debug.log
> {noformat}

This message was sent by Atlassian JIRA

View raw message