Comments (3)
if i change this
<script type="module" src="/src/index.tsx"></script>
to this
<script type="module" src="index.tsx"></script>
then this happens:
11 4.816 vite v5.1.5 building for production...
#11 4.867 transforming...
#11 4.872 ✓ 1 modules transformed.
#11 4.873 x Build failed in 33ms
#11 4.878 error during build:
#11 4.878 Error: [vite]: Rollup failed to resolve import "index.tsx" from "/app/index.html".
#11 4.878 This is most likely unintended because it can break your application at runtime.
#11 4.878 If you do want to externalize this module explicitly add it to
#11 4.878 `build.rollupOptions.external`
#11 4.878 at viteWarn (file:///app/node_modules/vite/dist/node/chunks/dep-G-px366b.js:67108:27)
#11 4.878 at onwarn (file:///app/node_modules/@vitejs/plugin-react/dist/index.mjs:250:9)
#11 4.878 at onRollupWarning (file:///app/node_modules/vite/dist/node/chunks/dep-G-px366b.js:67133:9)
#11 4.878 at onwarn (file:///app/node_modules/vite/dist/node/chunks/dep-G-px366b.js:66840:13)
#11 4.878 at file:///app/node_modules/rollup/dist/es/shared/node-entry.js:18300:13
#11 4.878 at Object.logger [as onLog] (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:19957:9)
#11 4.878 at ModuleLoader.handleInvalidResolvedId (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:18901:26)
#11 4.878 at file:///app/node_modules/rollup/dist/es/shared/node-entry.js:18859:26
#11 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
------
> [node-builder 5/6] RUN npm run build:
4.878 If you do want to externalize this module explicitly add it to
4.878 `build.rollupOptions.external`
4.878 at viteWarn (file:///app/node_modules/vite/dist/node/chunks/dep-G-px366b.js:67108:27)
4.878 at onwarn (file:///app/node_modules/@vitejs/plugin-react/dist/index.mjs:250:9)
4.878 at onRollupWarning (file:///app/node_modules/vite/dist/node/chunks/dep-G-px366b.js:67133:9)
4.878 at onwarn (file:///app/node_modules/vite/dist/node/chunks/dep-G-px366b.js:66840:13)
4.878 at file:///app/node_modules/rollup/dist/es/shared/node-entry.js:18300:13
4.878 at Object.logger [as onLog] (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:19957:9)
4.878 at ModuleLoader.handleInvalidResolvedId (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:18901:26)
4.878 at file:///app/node_modules/rollup/dist/es/shared/node-entry.js:18859:26
------
from pubsec-info-assistant.
We are not familiar with this error. It appears to be a local machine policy. If you use the GitHub Codespace as recommended in deployment this should not occur. https://github.com/microsoft/PubSec-Info-Assistant/blob/main/docs/deployment/deployment.md#development-environment-configuration
from pubsec-info-assistant.
i see where the problem is
you guys keep forgetting there was a python world before microsoft adopted it
from pubsec-info-assistant.
Related Issues (20)
- Azure Gov Deployment: App Registration Redirect URI pointing to ".net" instead of ".us" HOT 1
- Gov deployment embedding error
- File still stuck on Queued HOT 2
- Information Assistant web app (rel 1.0) responses include unrelated content in thought process HOT 3
- Queued Error when uploading Json or CSV HOT 4
- Read Time Out after Batch Testing HOT 3
- separate admin and end user experience
- Deployment error for V1.1 : CredentialInvalidLifetimeAsPerAppPolicy: Credential lifetime exceeds the max value allowed as per assigned HOT 3
- Mobile ui
- Work & Work
- Host name check failed for non-existing function app HOT 3
- Increase maximum question length HOT 2
- Access to Sharepoint subfolders in UI HOT 3
- Unable to process PDF files - Form Processor error - 400 Bad Request HOT 3
- What are the steps to redeploy after changing the UI ? HOT 2
- Ability to change the prompting inside of the application HOT 1
- Application Error when trying to view "https://infoasst-enrichmentweb-gdkis.azurewebsites.net/"web page HOT 3
- Update the Azure resurce with custom names
- Governance Infused Ingestion, Embedding and RAG HOT 1
- Release v1.1.1 streamed responses: only the first line is displayed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pubsec-info-assistant.