-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Describe the bug
after running compose up, and opening the containers console, I try to run npm install --legacy-peer-deps --no-optional
but I get:
npm WARN saveError ENOENT: no such file or directory, open '/app/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/app/package.json'
npm WARN app No description
npm WARN app No repository field.
npm WARN app No README data
npm WARN app No license field.
To Reproduce
Steps to reproduce the behavior:
the same steps mentioned in the repo:
1 - Install Docker locally and VSCode.
2 - Install Docker extension, and Dev Containers extension in VsCode.
3 - Run docker-compose up in the path of this repository.
4 - Click on "Remote Explorer" on the side of your VSCode.
5 - In the Dropdown menu choose "Containers". It will display all running and stopped containers.
6 - Right click on "rate" or "ratel-dev-1" and click on "Attach to Container". In 1 minute or less, remote access is set up.
7 - When you see "container node:14.17.0..." in the left part of the footer of VsCode. Open the terminal and run npm cache clean --force and then npm install --legacy-peer-deps --no-optional.
8 - Finally run npm run start
on step 7 it fails
Expected behavior
install the dependencies and start the project
Screenshots
Environment
- OS: Windows 11
- GO (I din't edit, I just cloned the repo and started messing with docker)
- Version: latest