Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Removed immutable option with yarn #68

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Removed immutable option with yarn #68

merged 1 commit into from
Nov 28, 2023

Conversation

mc2eqe
Copy link
Contributor

@mc2eqe mc2eqe commented Nov 28, 2023

One month ago workflow didn't work we had PAT authentication problem. This is resolved by creating new PAT with DevopsAstar4everland user token.
Bump browserify-sign from 4.2.1 to 4.2.2 (#60):

$ tsc --build tsconfig.build.json
remote: Personal access tokens (classic) are forbidden from accessing this repository.
fatal: unable to access 'https://github.com/AstarNetwork/astar.js.git/': The requested URL returned error: 403
child_process.js:866
After PAT update, new problem appeared. Updated version in all files (#63):
Run yarn install --immutable | grep -v 'YN0013'
➤ YN0000: ┌ Resolution step
Resolution step
➤ YN0000: └ Completed in 0s 404ms

➤ YN0000: ┌ Post-resolution validation
Post-resolution validation
➤ YN0000: └ Completed
➤ YN0000: Failed with errors in 0s 570ms
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)

I don't think it is related to PAT change. It's unclear to me what suddenly caused error: missing node_modules state file. I checked that Yarn and Node versions in meantime didn't change.
We can only avoid error running yarn install without --immutable option. This will unlock yarn.lock and let installer to create node_modules folder with stat file.
One more thing, while testing I tried to copy node_modules folder from my local installation, but I think it could be messy.

@mc2eqe mc2eqe merged commit 8528396 into main Nov 28, 2023
5 checks passed
@mc2eqe mc2eqe deleted the fix/node-modules branch November 28, 2023 12:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants