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

Flex plugin builder error during npm start #33

Closed
senbazen opened this issue Jan 7, 2019 · 6 comments
Closed

Flex plugin builder error during npm start #33

senbazen opened this issue Jan 7, 2019 · 6 comments

Comments

@senbazen
Copy link

senbazen commented Jan 7, 2019

Hi,

I am following this documentation and attempting to setup the plugin builder. I am using Windows 10.

I have run the following commands, in sequence, as per specified by the documentation:

npm init flex-plugin plugin-name --install

Getting the following error:

**PS C:\Users\MesutCerci\plugin-dynamicsCRMinFlex> npm start

plugin-dynamicsCRMinFlex@1.0.0 prestart C:\Users\MesutCerci\plugin-dynamicsCRMinFlex
flex-check-start

'flex-check-start' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! plugin-dynamicsCRMinFlex@1.0.0 prestart: flex-check-start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the plugin-dynamicsCRMinFlex@1.0.0 prestart script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2019-01-07T10_04_38_953Z-debug.log**

@senbazen
Copy link
Author

senbazen commented Jan 7, 2019

By the way, I am running with admin privilege to PowerShell and Visual Studio Code. You can find log file attached.

2019-01-07T09_33_27_123Z-debug.log

@idioteque1025
Copy link

Can you confirm you are using the supported version of node and npm? I had issues until i updated.

@ktalebian
Copy link
Contributor

@senbazen is this still an ongoing issue for you?

@ktalebian
Copy link
Contributor

I'm going to close this ticket; if you still having issues, please re-open the ticket and I can help you out.

ktalebian added a commit that referenced this issue Feb 4, 2021
@stwilz
Copy link

stwilz commented Sep 3, 2021

Just ran into this issue and found that flex-plugin-scripts was missing from my package.json. Adding it allow the postinstall hook to work.

@ktalebian
Copy link
Contributor

@stwilz your problem seems unrelated to this issue. Can you please open a new ticket and fill in the details?

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

4 participants