-
Notifications
You must be signed in to change notification settings - Fork 25
Visual Studio not responding when creating new project #10
Comments
Unable to reproduce this error on Windows 10 with VS 2017. Try enabling the output window in the Advanced tab and see if the Yeoman Generator is producing any errors. |
I was able to reproduce the issue. It seems that it is related to npm package microsoft/generator-sharepoint version 1.1.0. The scaffolding procedure has changed in this version and it contains now an additional option to choose which type of client-side component you would like to create (WebPart or Extension in preview). This option was not present in previous versions of microsoft/generator-sharepoint package. The generation in Visual Studio stops at this option. |
Noticed the same as p2netdev. I also noticed that when pressing the enter key in the command prompt, letting the process complete, the generated files appear outside the project directory. |
I confirm what kjetilrg states above. I experienced same issue with the project directory. |
New commit available to fix this issue. Updates to the release folder and VSIX gallery pending. |
Release v1.0.3 includes fixes. |
A new commit is available (f826eb7) that adds logic to check for the generator version and updates the command string appropriately. This is necessary for devs who want to continue using the previous "stable" generator version instead of the preview version. It also adds a framework selector to the Item template which is required by the 1.1.x versions. |
The commit from June 9th should fix that problem - I may not have incremented the build number so it's probably still 1.0.3.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: donshults-neudesic <[email protected]>
Sent: Sunday, June 11, 2017 12:26:26 PM
To: SharePoint/sp-dev-fx-vs-extension
Cc: Eric Shupps; Comment
Subject: Re: [SharePoint/sp-dev-fx-vs-extension] Visual Studio not responding when creating new project (#10)
Installed the new commit version v1.0.3, on a clean install of VS2017 Pro.
With VS in Solutions mode, I can't see the project files. With VS in Folders mode, I can see the completed solution.
Any Ideas?
----- Solution Mode
[image]<https://user-images.githubusercontent.com/16596883/27012994-e1745092-4e8f-11e7-9874-fe1b4f3265f3.png>
----- Folder Mode
[image]<https://user-images.githubusercontent.com/16596883/27013012-2ce78616-4e90-11e7-8d98-497e3fa28ada.png>
The template seems to run fine, the generator.log doesn't show any errors. The templates files, directories and tooling files seem to be complete. gulp server shows the sp workbench webpart.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#10 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALoSZIhtITdvHL-stp3VWkNWkBzn8xgWks5sDCNCgaJpZM4NytzS>.
|
Just published release v1.0.4 that includes the commit referenced above. |
Issue has been resolved after I had upgraded to the 1.0.4 version👍 Thank you very much 👍 |
Thanks alot! 👍 |
It is still not working for me. What am I doing wrong? |
Hi @fddavis, Also, make sure first that, you have the Please test and let us know the results! |
Based on comment and final input from @Ahmad-Gad, this is now closed. @fddavis - if you still are having issues around this, please open up a new issue with additional environmental details (which versions being installed of extension and SPFx etc.). Thx. |
It is still not working. I am using Visual studio 2017 15.2, and SPFx v 1.0.4. Have reran the npm commands as well and it is not working. |
Iam having same issue VS Pro 2017, and SPFx v 1.0.4 as @Ahmad-Gad explained above.... Visualstudio is hanging on "Not Responding".... |
In the configuration window go to Advanced tab and select "Show command window". Apparently there is no support for generator 1.2 version yet. |
Hi Vesa, We have installed latest SPFx Visual Studio Template for visual studio 2017 (as described above 1.4.0 latest) We need to install gulp everytime .. like npm install gulp after it is done we need to fix after this is fixed we get the error so after all command prompt instances are closed above error goes away.. How to avoid these errors Error Log as follow C:\Users\jaiswati\Documents\Visual Studio 2017\Projects\MyWebPart5\MyWebPart5>install gulp C:\Users\jaiswati\Documents\Visual Studio 2017\Projects\MyWebPart5\MyWebPart5>npm install gulp
C:\Users\jaiswati\Documents\Visual Studio 2017\Projects\MyWebPart5\MyWebPart5>gulp package-solution Error: Cannot find module '@ microsoft/sp-build-web' C:\Users\jaiswati\Documents\Visual Studio 2017\Projects\MyWebPart5\MyWebPart5>npm install --save-dev |
Category
[ ] Question
[X] Bug
[ ] Enhancement
Expected or Desired Behavior
A new project should be created.
Observed Behavior
Only a few files and folders are created (bin, obj and the project file), and the process never completes. Visual studio 2017 are not responding. Using .NET framework 4.6.1 in VS 2017 preview
Steps to Reproduce
Create new SPFx web part project, select name and location, select component name and start generating.
The text was updated successfully, but these errors were encountered: