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

TSX files not supported #1

Open
tdashworth opened this issue Nov 10, 2019 · 0 comments
Open

TSX files not supported #1

tdashworth opened this issue Nov 10, 2019 · 0 comments

Comments

@tdashworth
Copy link

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! pcf-project@1.0.0 start: `pcf-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pcf-project@1.0.0 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant