Closed seanfisher closed 6 years ago
Hmmm I'm not able to reproduce. Can you debug?
I get the same thing. I am using the library locally, instead of globally.
node v6.10.1
npm 3.10.10
So, if I install the module globally, it works. I don't see anything that easily explains why this would behave this way. It would be nice to install this locally and use something like ./node_modules/.bin/alexa-skill-test
to run it.
I get something similar but with a lot of dependencies. I installed it globally though…
ERROR in /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/traverseAllChildren.js Module not found: Error: Can't resolve 'fbjs/lib/warning' in '/usr/local/lib/node_modules/alexa-skill-test/node_modules/reac t-dom/lib' @ /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/traverseAllChildren.js 21:14-41 @ /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/ReactChildReconciler.js @ /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/ReactMultiChild.js @ /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/ReactDOMComponent.js @ /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/ReactDefaultInjection.js @ /usr/local/lib/~/alexa-skill-test/~/react-dom/lib/ReactDOM.js @ /usr/local/lib/~/alexa-skill-test/~/react-dom/index.js @ /usr/local/lib/~/alexa-skill-test/src/index.js
I get the same thing here is my error message:
$ alexa-skill-test
Alexa Skill Test
Skill: alphabet-teacher
Open http://localhost:3000 in your browser
Hash: 61f2d9554b289fa45f94
Version: webpack 2.6.1
Time: 51ms
ERROR in Entry module not found: Error: Can't resolve 'babel-loader' in '/Users/Antonio/Coding/alphabet-teacher'
webpack: Failed to compile.
it happens globally as well when trying to install and run locally.
I am using: Node v8.0.0.0 Yarn 0.24.6
Had the same issue when i installed locally.
Temp solution
cd ./node_modules/alexa-skill-test
npm install
cd ../..
./node_modules/.bin/alexa-skill-test
This would work but its painful.
Would love a fixing PR :/
I was having the same issue and found the following to work for me (slightly different from @gyandeeps)
cd node/modules/alexa-skill-test
npm install
cd ../..
./node_modules/alexa-skill-test/bin/start.js
This should be fixed now.
Had a similar problem involving bootstrap-sass just now with latest version. @gyandeeps solution solved it.
I installed the tool globally and when I run it in my lambda folder I get:
The website comes up as a blank screen.
Any ideas? Does this library really require me to install babel-loader into my application for it to work?