At same folder I’ve ran comman “npm i -S @vitejs/plugin-react“ and received output message: “{{added 79 packages, and audited 90 packages in 16s }}
{{7 packages are looking for funding }}
run npm fund for details“
4.I’ve entered to folder dxLink/dxlink-javascript/dxlink-api/demo and ran command “vite“ and got an error message:
Failed to scan for dependencies from entries:
/win/workspaces/nbs/nbs1/repo/dxLink/dxlink-javascript/dxlink-api/demo/index.html
✘ [ERROR] Failed to resolve entry for package "@dxfeed/dxlink-core". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]
../../../../../../../../../home/user/.nvm/versions/node/v22.3.0/lib/node_modules/vite/node_modules/esbuild/lib/main.js:1225:21:
1225 │ let result = await callback({
╵ ^
How can I fix the error, please?
Hello, I trying to run demo, but faced problem. What I did is:
At same folder I’ve ran comman “npm i -S @vitejs/plugin-react“ and received output message: “{{added 79 packages, and audited 90 packages in 16s }} {{7 packages are looking for funding }} run
npm fund
for details“4.I’ve entered to folder dxLink/dxlink-javascript/dxlink-api/demo and ran command “vite“ and got an error message:
Failed to scan for dependencies from entries: /win/workspaces/nbs/nbs1/repo/dxLink/dxlink-javascript/dxlink-api/demo/index.html
✘ [ERROR] Failed to resolve entry for package "@dxfeed/dxlink-core". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan] ../../../../../../../../../home/user/.nvm/versions/node/v22.3.0/lib/node_modules/vite/node_modules/esbuild/lib/main.js:1225:21: 1225 │ let result = await callback({ ╵ ^ How can I fix the error, please?