Closed theJakub closed 6 years ago
@theJakub I run into the same problem as you, then I checked the main README
for this repo and noticed that I haven't run the npm run setup --silent
mentioned on the setup section.
If you also skipped that step, could you try running it and see if it works as expected?
Same problem as @theJakub.
Was able to reproduce the issue. Fixed it by adding the dependency, which was missing.
@theJakub @aleksandar78 try running the following command from the calculator directory:
npm i -D babel-plugin-syntax-dynamic-import
Let me know if that fixed it!
@kentcdodds I opened a PR that adds the missing dependency.
Environment info:
node
version (node --version
): v8.11.3npm
version (npm --version
): v6.1.0yarn
version (yarn --version
): noneProblem description: I'm using the 'master' branch. While following along with the videos I ran into a build issue during video 5 'Configuring Jest & Babel'. When running 'npm run dev' in the '/calculator' directory I get:
If I remove "syntax-dynamic-import" from .babelrc I run into syntax errors in the code. I tried to install that babel plugin with npm and that led to more build errors. My './calculator/package.json' is the same as what I see in the video and the 'npm run setup --silent' script was successful during setup.