[BUG] After npm install
in docker container GitHub npm packages are not building correctly, but on local it is ok.
#4385
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Description of issue
Currently I'm working on EspoCRM extension. In one of step of building extension template I have to build EspoCRM core system. Package.json file of this framework contains couple of custom npm repositories like git://github.com/yurikuzn/bull.git.
After npm install in docker container console.error occurs with the information that the Bull.js is missing, and
node_modules/bullbone/disc
directory is missing.After npm install on local machine
dist
folder is present.During the npm install on docker container any errors occurs.
What I tried
Changed architecture of docker container from arm64 to linux/amd64
Set NODE_ENV to development in docker container
Files
package.json file
Dockerfile
Expected Behavior
Npm install in docker container should install the same packages like on the local machine.
Steps To Reproduce
npm install
inside dockerEnvironment
Linux caeda9ccc744 5.10.76-linuxkit #1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: