You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paketo does not seem to work with node workspaces. If I remove the workspace from my package.json, then it builds successfully.
Executing launch environment install process
Running 'npm ci --unsafe-perm --cache /layers/paketo-buildpacks_npm-install/npm-cache'
added 104 packages, and audited 106 packages in 9s
14 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
failed to copy linked module directory to layer path: stat /workspace/app/incidents: no such file or directory
This looks very similar to this closed ticket here: #498
I wasted a silly amount of time on this. I thought I had done something wrong, as I knew it had worked before. I ended up creating a whole new app, and by trial and error, found that be removing "workspaces" it will work.
"workspaces": [
"app/*"
],
The reason I assumed it was my fault, is because SAP has this buildpack in their official instructions. And setting up these workspaces is also done by default via the tools used. So really surprising that it just doesn't work.
For reference, I set up a new demo app, and build via:
Since there has been no response from the original poster after the response from @c0d1ngm0nk3y, and @c0d1ngm0nk3y seems not to be able to reproduce I'm going to go ahead and close.
Please let us know if that was not the right thing to do.
Expected Behavior
Paketo does not seem to work with node workspaces. If I remove the workspace from my package.json, then it builds successfully.
This looks very similar to this closed ticket here:
#498
I wasted a silly amount of time on this. I thought I had done something wrong, as I knew it had worked before. I ended up creating a whole new app, and by trial and error, found that be removing "workspaces" it will work.
The reason I assumed it was my fault, is because SAP has this buildpack in their official instructions. And setting up these workspaces is also done by default via the tools used. So really surprising that it just doesn't work.
For reference, I set up a new demo app, and build via:
The text was updated successfully, but these errors were encountered: