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

react-myonedrive - #4785

Closed
9 tasks
raphking2 opened this issue Feb 27, 2024 · 4 comments
Closed
9 tasks

react-myonedrive - #4785

raphking2 opened this issue Feb 27, 2024 · 4 comments
Labels
status:wrong-author type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@raphking2
Copy link

Disclaimer

Yes

Sample

react-myonedrive

Contributor(s)

@YourGithubUsername

What happened?

i'm trying to package the solution and ran gulp build but it failed with error
[13:54:20] Finished subtask 'tslint' after 21 s [13:54:21] [tsc] error TS1149: File name 'C:/Users/RaphaelChiemerieEzem/spfx 2024/sp-dev-fx-webparts/samples/react-myonedrive/src/webparts/myonedrivefiles/components/Myonedrivefiles.module.scss.ts' differs from already included file name 'C:/Users/RaphaelChiemerieEzem/spfx 2024/sp-dev-fx-webparts/samples/react-myonedrive/src/webparts/myonedrivefiles/components/MyOnedrivefiles.module.scss.ts' only in casing. [13:54:21] Error - 'tsc' sub task errored after 15 s exited with code 2 [13:54:21] 'build' errored after 23 s [13:54:21] About to exit with code: 1 Process terminated before summary could be written, possible error in async code not continuing! Trying to exit with exit code 1

Steps to reproduce

1.gulp build
2.
3.

Expected behavior

nothing other than it fails

Target SharePoint environment

SharePoint Online

Developer environment

None

Browsers

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

What version of Node.js is currently installed on your workstation?

14.21.3

What version of Node.js is required by the sample?

14..

Paste the results of SPFx doctor

spfx doctor -o text
Build target: DEBUG
[13:58:13] Using gulpfile ~\spfx 2024\sp-dev-fx-webparts\samples\react-myonedrive\gulpfile.js
[13:58:13] Task never defined: spfx
[13:58:13] To list available tasks, try running: gulp --tasks
About to exit with code: 1
Process terminated before summary could be written, possible error in async code not continuing!
Trying to exit with exit code 1

Additional environment details

No response

@raphking2 raphking2 added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Feb 27, 2024
@ghost
Copy link

ghost commented Feb 27, 2024

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@a1mery
Copy link
Contributor

a1mery commented Feb 27, 2024

There was indeed an issue with Myonedrivefiles.module.scss file. I've committed a PR that should fix it. Let me know if it works :)

@raphking2
Copy link
Author

Thanks @a1mery it actually fixed the bug, but is there any way to reduce the size , or customize the size of the webpart, if your onedrive have a lot of files and folders it keeps on increasing the height to accommodate all stacking them instead having a scroll because it will affect the design of other wepart.
test

Copy link

Wrong or missing contributor @mentions

Thank you for your submission, but you appear to have forgotten to @mention the sample author(s).

To help increase your chances of getting assistance from the original authors of the sample, you should make sure to @mention the actual authors (and not the repository maintainers).

Make sure to include the @ character before the GitHub username so that the author(s) get notified; using the person's name is not going to work.

Please note that the sample authors will not get notified about this issue unless you update this issue accordingly.

You can find the author(s) of each sample in the sample's README.md, under Solution.

We'll automatically close this issue in 7 days unless you update the issue.

For more information on how to create a good issue, refer to our wiki for more information: How to Create Good Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:wrong-author type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

3 participants