Open
Description
Hi,
I was working on my own project trying to implement with React. I found this project as an example to follow and got this error:
> pcf-scripts build
[18:58:35] [build] Initializing...
[18:58:35] [build] Validating manifest...
[18:58:35] [build] Failed:
[pcf-1014] [Error] Manifest validation error: instance.manifest.control[0].resources[0].code[0].$.path does not match pattern "^.+\\.ts$"
[pcf-scripts] [Error] encountered unexpected error:
TypeError: Cannot read property 'compileTime' of undefined
I then tried with this project, first cloning, npm install, and npm run start. but go a different but similar error.
Kicking off PCF start process...
[Build task]: Validating control manifest...
[Build failed] because of the following error:
Manifest Validation Error:
Code file needs to be a typescript (.ts). Code file C:\Users\Tom Ashworth\Downloads\PCF-ReactControlDemo-master\PCF-ReactControlDemo-master\ReactControlDemo\index.tsx has a different file extension.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `pcf-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Versions:
- Microsoft PowerApps CLI: 1.0.6+g8be9d7b
- pcf-scripts/pcf-start: 1.0.6 (Mine)
- pcf-scripts/pcf-start: 0.1.51 (This repo)
I read React wasn't supported but that could have been old news.
Metadata
Metadata
Assignees
Labels
No labels