Field 'browser' doesn't contain a valid alias configuration /opt/atlassian/pipelines/agent/build/src/css/index.css doesn't exist .tsx #18707
Unanswered
noventiqpb
asked this question in
Q&A
Replies: 2 comments 1 reply
-
It means you don't have such file, we don't have any logic which change between CI and not, also please check you have valid path to this file |
Beta Was this translation helpful? Give feedback.
0 replies
-
have same problem after update from [email protected] to 5.94 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Scss/CSS files are not working on Azure - npm run build is failed in pipelines in Webpack, React.
I am working on a micro-frontend application. In the localhost environment, everything is working fine. "npm run build" is working fine in the localhost.
But when I tried to build an Azure pipeline, an error came up.
I have tried many times output variable path in webpack.common.js, but every time pipeline failed. Please help me.
Error is:
_Field 'browser' doesn't contain a valid alias configuration /opt/atlassian/pipelines/agent/build/src/css/index.css doesn't exist .tsx
Field 'browser' doesn't contain a valid alias configuration /opt/atlassian/pipelines/agent/build/src/css/index.css.tsx doesn't exist .ts
Field 'browser' doesn't contain a valid alias configuration /opt/atlassian/pipelines/agent/build/src/css/index.css.ts doesn't exist .js_
Complete Error is
Files structure is
package.json script tag is:
webpack.common.js file code is
webpack.prod.js code is
CSS files are included in App.tsx
Beta Was this translation helpful? Give feedback.
All reactions