Azure-Samples / cognitive-services-personalizer-samples

Samples for the Microsoft personalizer
MIT License
54 stars 76 forks source link

Missing node_modules\webpack\bin\webpack.js #65

Open ReBoRn8888 opened 4 years ago

ReBoRn8888 commented 4 years ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

git clone https://github.com/Azure-Samples/cognitive-services-personalizer-samples
cd samples/HttpRequestFeatures
  • Then I opened the sln file and tried to build the whole solution.
  • But something went wrong on line#31 in HttpRequestFeaturesExample.csproj.
  • I was told that some specific file was missing. I searched the project directory and I couldn't find it too.

Any log messages given by the failure

image

Severity    Code    Description Project File    Line    Suppression State
Error       Cannot find module 'D:\Microsoft\Learning\Azure\AzurePersonalizer\cognitive-services-personalizer-samples\samples\HttpRequestFeatures\node_modules\webpack\bin\webpack.js'  HttpRequestFeaturesExample  D:\Microsoft\Learning\Azure\AzurePersonalizer\cognitive-services-personalizer-samples\samples\HttpRequestFeatures\EXEC  1   
Error   MSB3073 The command "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js" exited with code 1.    HttpRequestFeaturesExample  D:\Microsoft\Learning\Azure\AzurePersonalizer\cognitive-services-personalizer-samples\samples\HttpRequestFeatures\HttpRequestFeaturesExample.csproj 31  

Expected/desired behavior

I wonder where to find the file or how can I solve the problem.

OS and Version?

Windows 10.

Versions

image

Mention any other details that might be useful


Thanks! We'll be in touch soon.

srnsh1999 commented 1 year ago

Been a while, but while trying to explore APS I came across the same issue. Was able to resolve it by doing: npm install via the terminal in the project folder cognitive-services-personalizer-samples\samples\HttpRequestFeatures