OfficeDev / generator-office

Yeoman generator for building Microsoft Office related projects.
https://www.npmjs.com/package/generator-office
MIT License
829 stars 208 forks source link

unexpected behavior when compiling on a filesystem with other case-semantic in yo office add-ins #807

Closed junaid042 closed 8 months ago

junaid042 commented 8 months ago

I created a Outlook Add-in using yo office in react js when I start my add-in first time its gives error and now facing same issue in all add-ins.

WARNING in ./node_modules/es6-promise/dist/es6-promise.js

Error Image


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

junaid042 commented 8 months ago

how I fixed it this is gives error when I created add-in first time I deleted node_modules folder and then reinstall packages using npm i and it works

junaid042 commented 8 months ago

please fix this problem why first time its giving error

junaid042 commented 8 months ago

@AlexJerabek, @ElizabethSamuel-MSFT, @Wenjun-Gong please fix this issue All add-in created using yo office in react giving error after successfully creating

AlexJerabek commented 8 months ago

Hi @junaid042,

Thanks for reporting this. I'm going to transfer this issue to the yo office repo so the right people can take a look.

Wenjun-Gong commented 8 months ago

Assign @darrelmiller to take a look.

junaid042 commented 8 months ago

Hi @Wenjun-Gong and @darrelmiller , why we can't add css file in react js add-in ? I have have a add-in created using React framework simply I added a style.css file in my comments folder and import "./Style.css" in my App.jsx file this is giving error

image

junaid042 commented 8 months ago

Now that issue is fixed only I face this one or two day.