Module parse failed - can't run
See original GitHub issueHello, I’m trying to run MobX AJV Form, but get these errors:
ERROR in ./~/ajv/lib/refs/json-schema-draft-04.json
Module parse failed: C:\proj\node_modules\ajv\lib\refs\json-schema-draft-04.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
| "id": "http://json-schema.org/draft-04/schema#",
| "$schema": "http://json-schema.org/draft-04/schema#",
| "description": "Core schema meta-schema",
@ ./~/ajv/lib/ajv.js 352:23-66
ERROR in ./~/ajv/lib/refs/json-schema-v5.json
Module parse failed: C:\proj\node_modules\ajv\lib\refs\json-schema-v5.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
| "id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json#",
| "$schema": "http://json-schema.org/draft-04/schema#",
| "description": "Core schema meta-schema (v5 proposals)",
@ ./~/ajv/lib/v5.js 20:21-58
And also warnings Cannot resolve module
:
- regenerator
- nodent
- js-beautify
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Module parse failed: You may need an appropriate loader to ...
I'm running into the same issue, it seems to happen when I have the storyshots addon installed and use dynamic module loading. Basically...
Read more >Module parse failed getting error in webpack - Stack Overflow
I am working on webpack in react, when i run this command npx webpack --config webpack.config.
Read more >Storybook error - "ModuleParseError: Module parse failed
It seems that after that, I started getting the following error when I run yarn run storybook : kris@kris-macbook miso3 % yarn run...
Read more >Odyssey Lift-off I: "Module parse failed: Unexpected token" Error
More than happy to help, I've been there too! running react@latest installed react 18 which is pretty recent and not compatible with some...
Read more >Getting "Module parse failed: Unexpected token" error while ...
Solution for getting " Module parse failed : Unexpected token" error while doing npm-start. ... Your browser can't play this video.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Remove the include for the json loader, otherwise cannot load json from node_modules
@JZiebikiewicz great!