-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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-personal-greeting - Invalid glob argument #5112
Labels
sample: react-personal-greeting
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Comments
Jeyeline
added
the
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
label
Mar 30, 2024
Thanks! I will look into the issue
…On Sat, Mar 30, 2024 at 6:59 AM Jeyeline ***@***.***> wrote:
Disclaimer
Yes
Sample
react-personal-greeting
Contributor(s)
@zachroberts8668 <https:/zachroberts8668>
What happened?
Receiving the below error
Error - [copy-assets] Error: Invalid glob argument:
Error - 'copy-assets' sub task errored after 32 ms
Invalid glob argument:
'bundle' errored after 13 s
About to exit with code: 1
Process terminated before summary
while executing gulp bundle --ship
Steps to reproduce
1. clone code in url
https:/pnp/sp-dev-fx-webparts/blob/main/samples/react-personal-greeting/README.md
2. execute npm install
3. execute gulp build
4. execute gulp bundle --ship
Error is encountered
Expected behavior
The build should be successful and the package has to be published upon
executing gulp package-solution --ship
Target SharePoint environment
SharePoint Online
Developer environment
Windows
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?
10.24.1
What version of Node.js is required by the sample?
=8.9.4 <9.0.0 || >=10.13.0 <11.0
Paste the results of SPFx doctor
***@***.***\cli-microsoft365\dist\index.js:2
import { cli } from './cli/cli.js';
^
SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Additional environment details
*No response*
—
Reply to this email directly, view it on GitHub
<#5112>, or unsubscribe
<https:/notifications/unsubscribe-auth/AETQ7NU6IUIPYQ6ZB66RVTDY22LJ5AVCNFSM6AAAAABFPO2XAGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTMMZYHAYTAMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
sample: react-personal-greeting
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Disclaimer
Yes
Sample
react-personal-greeting
Contributor(s)
@zachroberts8668
What happened?
Receiving the below error
Error - [copy-assets] Error: Invalid glob argument:
Error - 'copy-assets' sub task errored after 32 ms
Invalid glob argument:
'bundle' errored after 13 s
About to exit with code: 1
Process terminated before summary
while executing gulp bundle --ship
Steps to reproduce
Error is encountered
Expected behavior
The build should be successful and the package has to be published upon executing gulp package-solution --ship
Target SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
What version of Node.js is currently installed on your workstation?
10.24.1
What version of Node.js is required by the sample?
Paste the results of SPFx doctor
npm\node_modules@pnp\cli-microsoft365\dist\index.js:2
import { cli } from './cli/cli.js';
^
SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Additional environment details
No response
The text was updated successfully, but these errors were encountered: