# 20/08/21 ## 08:30 - 09:30 - start the day by adding console.logs to the project to see where the app.asar errors out. - After that resolve the issue of why it can't find the entry file. - checking the package.json for a misleading path. ## 09:30 - 10:30 - I have removed the @gdap dependencies from the package.json just incase. - They are ``` "@gdap/esx": "file:packages/engineering-studio-framework/esx", "@gdap/fp": "file:packages/common-libraries/fp", "@gdap/parsers": "file:packages/common-libraries/parsers", "@gdap/utilities": "file:packages/common-libraries/utilities", "@gdap/workbench": "file:packages/engineering-studio-framework/workbench", ``` - we'll see if that makes any difference. - it didn't make a difference. - But to narrow down the problem. The line of code causing the isssue is ``` const { WorkbenchApp } = require("../../workbench/source/workbench-app.class");``` - ok so the issue is definitely the @gdap tag. - I added the ../../workbench/source/workbench-app.class - but that can't be continued to be used ## 10:30 - 11:30 - The issue may be to do with the pack-lock.json - I have deleted the previous one and replaced after doing a clean npm install. - ok that did't resolve the issue. - But I have def narrowed it down to the @gdap symbol not being recognised by the asar. - ## 11:30 - 12:30 - so I am running out of ideas at the moment. - Its as if the asar doesn't have access to the node_modules - ok after lunch I am going to manually provide the paths for the @gdap paths and see if that is the issue. - Get it to work and then go from there. - ## 12:30 - 13:30 - Lunch ## 13:30 - 14:30 - Just replacing the workbench path as a first step - I replaced the workbench path and the normal app still works but the app.asar says that esx is not found. - The next step is replacing the gdap esx - The main app still works. - It seem the issue is coming from workshop.ui.app - Even with the esx path provided there is an issue. - There is a real issue here with corrupting the project when using turning into an asar. - ## 14:30 - 15:30 - testing the path for the workbench and the esx. ## 15:30 - 17:00 - I have put a test string into the workbench path to see where the issue is coming from. - The issue is that gdap is not being installed when we npm install. -