Closed antonioOrtiz closed 2 years ago
I've tried to create a new CRA project using your package.json file, but I get errors because @publicismedia/ui-all
is not available in the yarn or npm package directories. I'm assuming that means that those are internal company packages, but it means that I am not able to debug anything with the information provided.
The last time I've seen messages like the ones you have reported, they were caused by a mismatch between the versions of jest & babel-jest being used in the project, but those were showing up in the test
target rather than the start
target. The best help I can give at this stage would be to suggest that you start putting console.log debug statements inside the commands being run by a build, so that you can narrow down at what point the build is failing, then to dive into the various libs that are being invoked at that point to identify where the error is actually being thrown. (Which is exactly what I would need do myself to try to debug it - if I could have installed from the project.json file provided).
Essentially I just either of those start commands and get: npm start error: 'The "path" argument must be of type string or an instance of Buffer or URL. Received undefined'