I am encountering issues with
node_modules
while working on SuiteCRM 8.1.3. The errors primarily arise when installing dependencies or running the application.
pgr
18 December 2024 15:33
2
If youβre only starting to install, do you really want to go for such an old version?
About your error: are you building the app with yarn, to incorporate your changes, or just installing a clean version?
no i was not using yarn i was using npm
pgr
19 December 2024 16:10
4
The yarn scripts are just ways to call npm and ng :
{
"name": "suitecrm",
"version": "8.7.1",
"scripts": {
"ng": "ng",
"start": "npm run start:shell",
"start:shell": "ng serve shell -o --port 5000",
"start:all": "concurrently \"npm run start:shell\"",
"serve:dist": "concurrently \"serve dist/shell -l 5000 -s\"",
"build-dev": "npm run build-dev:common && npm run build-dev:core && npm run build-dev:shell ",
"build-dev:shell": "ng build shell",
"build-dev:common": "ng build common",
"build-dev:core": "ng build core",
"build-dev:defaultExt": "ng build defaultExt --configuration dev",
"build": "npm run build:shell",
"build:shell": "ng build shell --configuration production",
"build:common": "ng build common --configuration production",
"build:core": "ng build core --configuration production",
"build:defaultExt": "ng build defaultExt --configuration production",
"test": "npm run test:shell",
This file has been truncated. show original