When attempting to install modules and running npm install
i get the following errors:
$ npm install
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/nodemon-96ce64d0/lib/monitor/run.js'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/nodemon-96ce64d0/lib/monitor/signals.js'
npm WARN tar ENOENT: no such file or directory, open '/app/node_modules/.staging/nodemon-96ce64d0/lib/monitor/watch.js'
npm ERR! path /app/node_modules/.staging/ejs-e001a11a/node_modules/ansi-styles
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/app/node_modules/.staging/ejs-e001a11a/node_modules/ansi-styles' -> '/app/node_modules/.staging/ansi-styles-1bb60e8a'
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! /tmp/npm-cache/10.15.3/_logs/2020-07-28T11_07_27_421Z-debug.log
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
7:08 AM
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
7:08 AM
at Module.require (internal/modules/cjs/loader.js:637:17)
7:08 AM
at require (internal/modules/cjs/helpers.js:22:18)
7:08 AM
Jump Toat Object. (/app/server.js:2:17)
7:08 AM
at Module._compile (internal/modules/cjs/loader.js:701:30)
7:08 AM
at Object.Module._extensions…js (internal/modules/cjs/loader.js:712:10)
7:08 AM
at Module.load (internal/modules/cjs/loader.js:600:32)
7:08 AM
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
7:08 AM
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
@glitch_support UPDATE: It seems to be happening no matter what module i add. Could someone please look into this?