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

Could not resolve "xlsx" vite js #177

Open
RussHide opened this issue Jan 17, 2023 · 1 comment
Open

Could not resolve "xlsx" vite js #177

RussHide opened this issue Jan 17, 2023 · 1 comment

Comments

@RussHide
Copy link

image

node_modules/tempa-xlsx/ods.js:13:29:
13 │ catch(ee) { return require('xl' + 'sx').utils; }
│ ~~~~
╵ "./xlsx"

Use the relative path "./xlsx" to reference the file "node_modules/tempa-xlsx/xlsx.js". Without
the leading "./", the path "xlsx" is being interpreted as a package path instead.

6:30:55 PM [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/tempa-xlsx/ods.js:13:29: ERROR: Could not resolve "xlsx"
at failureErrorWithLog (C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:1566:15)
at C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:1024:28
at runOnEndCallbacks (C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:1438:61)
at buildResponseToResult (C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:1022:7)
at C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:1134:14
at responseCallbacks. (C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:671:9)
at handleIncomingPacket (C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:726:9) at Socket.readFromStdout (C:\Users\Yone\Desktop\react-controlasistencia-uadec\node_modules\esbuild\lib\main.js:647:7)

@AnointingMax
Copy link

Any resolution to this error?

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

No branches or pull requests

2 participants