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
Hello - I'm a former C1 Associate and trying to use this extension, but I'm unable to build it.
npm run build fails with the error:
./src/polyfills.ts:64:0-27 - Error: Module not found: Error: Package path ./dist/zone is not exported from package acronym-decoder/node_modules/zone.js (see exports field in acronym-decoder/node_modules/zone.js/package.json)
bash-3.2$ node --version
v23.0.0
Command used to install: bash-3.2$ npm install --legacy-peer-deps --verbose
Any clue what may be going wrong here?
The text was updated successfully, but these errors were encountered:
Thanks to https://stackoverflow.com/a/77676983, I was able to complete the build. However, now that I have the extension running in my browser it gets stuck on `Looking up definitions for ...' when I do the search for an acronym.
I'm running locally, reading the acronyms from dist/glossary.json and I confirmed that the Acronym I'm looking for is present in my glossary.json file.
Any thoughts on how to address that?
UPDATE: Figured it out. It was a trailing comma. Updated it in src/glossary.json and ran npm run build but that didn't update the glossary.json in dist/ folder. So updated in the dist/ folder directly for now.
I'm keeping this issue open till someone from Capital One has confirmed that the stackoverflow link provides the correct solution and then I (or someone else) raises a PR to update src/polyfill.js.
Also, if someone from Capital One can update the dependency tree to eliminate the need for me to use --legacy-peer-deps when running npm install, that would be much appreciated.
Hello - I'm a former C1 Associate and trying to use this extension, but I'm unable to build it.
npm run build
fails with the error:./src/polyfills.ts:64:0-27 - Error: Module not found: Error: Package path ./dist/zone is not exported from package acronym-decoder/node_modules/zone.js (see exports field in acronym-decoder/node_modules/zone.js/package.json)
Command used to install:
bash-3.2$ npm install --legacy-peer-deps --verbose
Any clue what may be going wrong here?
The text was updated successfully, but these errors were encountered: