Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot yarn install due to package error on jsonld #19

Open
bakersemail opened this issue May 16, 2024 · 0 comments
Open

Cannot yarn install due to package error on jsonld #19

bakersemail opened this issue May 16, 2024 · 0 comments

Comments

@bakersemail
Copy link

Using nodejs 18.18.2 - upgrading from vc 4.1.1 to 7.0.0 results in error during yarn install.
`- "@digitalcredentials/vc": "^4.1.1",

  •    "@digitalcredentials/vc": "^7.0.0",`
    

`
% yarn
➤ YN0000: ┌ Project validation
➤ YN0057: │ lambda: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0061: │ @babel/plugin-proposal-export-namespace-from@npm:7.18.9 is deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
➤ YN0013: │ jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=17f2c35f85d176231d9c8620d39144e845c15e91 can't be found in the cache and will be fetched from GitHub
➤ YN0013: │ jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=17f2c35f85d176231d9c8620d39144e845c15e91 can't be found in the cache and will be fetched from the remote repository
➤ YN0058: │ jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=17f2c35f85d176231d9c8620d39144e845c15e91: Packing the package failed (exit code 1, logs can be found here: pack.log)
➤ YN0000: └ Completed in 19s 127ms
➤ YN0000: Failed with errors in 19s 130ms

% cat pack.log
Packing jsonld@https://github.com/digitalcredentials/jsonld.js.git#commit=17f2c35f85d176231d9c8620d39144e845c15e91 from sources
No package manager configuration detected; defaulting to Yarn

➤ YN0036: Calling the "prepack" lifecycle script
➤ YN0000: jsonld@workspace:. STDERR (node:75240) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
➤ YN0000: jsonld@workspace:. STDERR (Use node --trace-warnings ... to show where the warning was created)
➤ YN0000: jsonld@workspace:. STDERR node:internal/errors:496
➤ YN0000: jsonld@workspace:. STDERR ErrorCaptureStackTrace(err);
➤ YN0000: jsonld@workspace:. STDERR ^
➤ YN0000: jsonld@workspace:. STDERR
➤ YN0000: jsonld@workspace:. STDERR Error [ERR_LOADER_CHAIN_INCOMPLETE]: "file:///.../.pnp.loader.mjs 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include shortCircuit: true in the hook's return.
➤ YN0000: jsonld@workspace:. STDERR at new NodeError (node:internal/errors:405:5)
➤ YN0000: jsonld@workspace:. STDERR at ESMLoader.resolve (node:internal/modules/esm/loader:843:13)
➤ YN0000: jsonld@workspace:. STDERR at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) {
➤ YN0000: jsonld@workspace:. STDERR code: 'ERR_LOADER_CHAIN_INCOMPLETE'
➤ YN0000: jsonld@workspace:. STDERR }
➤ YN0000: jsonld@workspace:. STDERR
➤ YN0000: jsonld@workspace:. STDERR Node.js v18.18.2
➤ YN0036: Prepack script failed (exit code 1, logs can be found here: prepack.log); run yarn prepack to investigate
➤ YN0000: Failed with errors in 0s 149ms

% cat prepack.log
(node:75240) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
node:internal/errors:496
ErrorCaptureStackTrace(err);
^

Error [ERR_LOADER_CHAIN_INCOMPLETE]: "file:///..../.pnp.loader.mjs 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional, include shortCircuit: true in the hook's return.
at new NodeError (node:internal/errors:405:5)
at ESMLoader.resolve (node:internal/modules/esm/loader:843:13)
at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7) {
code: 'ERR_LOADER_CHAIN_INCOMPLETE'
}

Node.js v18.18.2
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant