I seem to be having a similair issue however the fix suggested does not work. I also downloaded the latest trial version 1.1.2 and have tried to follow the steps in the help doc.
First Problem
- The package.json file in the basic react example refers to a _shared/build folder which does not exist.
- I removed the /build and was able to run npm install successfully.
Second Problem
- If i try run npm start i get the following error
examples\react\javascript\basic\node_modules\.bin\react-scripts:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at Module._compile (internal/modules/cjs/loader.js:721:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! basic@1.1.2 start: `node --max_old_space_size=8192 node_modules/.bin/react-scripts start`
npm ERR! Exit status 1
This is on a clean installation of windows 10 running node 10.16.0 and npm 6.9.0
Running the basic react demo from the help documentation also doesnt work as the "build" folder it points to does not exist. I tried building the example but cant get passed the above.
Any idea? At this point we are unable to even test / debug / create a basic react app.
Hello.
Readme.md describes build procedure. First you need to navigate to examples/react/_shared and run npm install && npm run build. Then you navigate to examples/react/javascript/basic and run same npm i && npm run build.