NPM Error while editing files

Getting a NPM error every time I run make command. How can I access the /root/.npm/_logs/2019-01-06T05_45_00_263Z-debug.log file?

npm ERR! JSON.parse Unexpected token } in JSON at position 382 while parsing near '...icense": "GPL-3.0", npm ERR! JSON.parse }' npm ERR! JSON.parse Failed to parse package.json data. npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-01-06T05_45_00_263Z-debug.log make: *** [Makefile:99: node_modules] Error 1 ERROR: Job failed: exit code 2

My .gitlab-ci.yml file: `image: nixos/nix

before_script:

build: stage: build script: nix-shell --run make artifacts: paths: - public

pages: stage: deploy script: ":" artifacts: paths: - / only:

  • master `