Open nicogaldo opened 1 year ago
Hi @nicogaldo,
I'm not sure where this is error is coming from. There is no import for a file with the object literal ({}
) in the file path. Here is the relevant part of the build/es2019/types/index.js
file which I believe is where the error is thrown.
// ...
export * from './error-event-handler';
export * from './evaluate-audio-worklet-global-scope-function';
export * from './evaluate-source-factory';
// ...
Is it possible that there is a relatively brutal rewrite in place which replaces global
with {}
?
When I do the build in my project (vitejs, reactjs, typescript), I get the following error in console
Could not resolve './evaluate-audio-worklet-{}-scope-function' from node_modules/standardized-audio-context/build/es2019/types/index.js error during build: Error: Could not resolve './evaluate-audio-worklet-{}-scope-function' from node_modules/standardized-audio-context/build/es2019/types/index.js at error (file:///home/nico/Documentos/DevAcid/cyberweb/node_modules/rollup/dist/es/shared/rollup.js:1858:30) at ModuleLoader.handleResolveId (file:///home/nico/Documentos/DevAcid/cyberweb/node_modules/rollup/dist/es/shared/rollup.js:22156:24) at file:///home/nico/Documentos/DevAcid/cyberweb/node_modules/rollup/dist/es/shared/rollup.js:22119:26
What I've tried reinstall dependencies, install older versions