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
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: