quilt icon indicating copy to clipboard operation
quilt copied to clipboard

Specify process/browser extension

Open fiskus opened this issue 2 years ago • 1 comments

https://nodejs.org/api/esm.html#esm_mandatory_file_extensions

https://webpack.js.org/blog/2020-10-10-webpack-5-release/#externals

There are no problems in master. But there is an error if update xlsx:

ERROR in ./node_modules/xlsx/xlsx.mjs 127:88-95
Module not found: Error: Can't resolve 'process/browser' in '/home/fiskus/reps/quilt/catalog/node_modules/xlsx'
Did you mean 'browser.js'?
BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
resolve 'process/browser' in '/home/fiskus/reps/quilt/catalog/node_modules/xlsx'

fiskus avatar May 04 '22 09:05 fiskus

Codecov Report

Merging #2836 (b9e019d) into master (83b53d5) will decrease coverage by 53.31%. The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2836       +/-   ##
===========================================
- Coverage   88.78%   35.47%   -53.32%     
===========================================
  Files          79      641      +562     
  Lines        9616    28338    +18722     
  Branches        0     4136     +4136     
===========================================
+ Hits         8538    10053     +1515     
- Misses       1078    17105    +16027     
- Partials        0     1180     +1180     
Flag Coverage Δ
api-python 90.72% <ø> (ø)
catalog 8.09% <ø> (?)
lambda 86.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
catalog/app/components/StackedAreaChart/index.js 0.00% <0.00%> (ø)
.../components/ResponsiveSection/ResponsiveSection.js 0.00% <0.00%> (ø)
...containers/Bucket/PackageTree/gql/Dir.generated.ts 0.00% <0.00%> (ø)
catalog/app/components/Dropzone/index.js 0.00% <0.00%> (ø)
catalog/app/components/Preview/loaders/Audio.tsx 0.00% <0.00%> (ø)
...app/containers/Bucket/Queries/requests/requests.ts 0.00% <0.00%> (ø)
catalog/app/utils/useDebouncedInput.ts 0.00% <0.00%> (ø)
catalog/app/containers/AddToPackage/index.ts 0.00% <0.00%> (ø)
catalog/app/containers/Bucket/Summarize.tsx 0.00% <0.00%> (ø)
...g/app/website/components/Backgrounds/Backlight3.js 0.00% <0.00%> (ø)
... and 552 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar May 04 '22 09:05 codecov[bot]