Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cant start or build project (Module parse error) [Clean install] #109

Closed
Dietrich-io opened this issue Oct 26, 2023 · 1 comment
Closed

Comments

@Dietrich-io
Copy link

Dietrich-io commented Oct 26, 2023

Version

2.1.0

Reproduction link

https://www.creative-tim.com/downloads

Operating System

Windows Server

Device

Desktop

Browser & Version

Steps to reproduce

  1. Clean download of the product from "My Purchase"
  2. npm install all dependencies
  3. npm start

What is expected?

Website starting up

What is actually happening?

Module parse errors:

Starting the development server...

One of your dependencies, babel-preset-react-app, is importing the
Failed to compile.

Module parse failed: Unexpected token (138:13)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
 * ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
|     // `return some()`, `else if()`, `(x*sum(1, 2))`
|     variants: [{
>       begin: /=/,
|       end: /;/
|     }, {
ERROR in ./node_modules/highlight.js/lib/languages/arduino.js 138:13
Module parse failed: Unexpected token (138:13)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
 * ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
|     // `return some()`, `else if()`, `(x*sum(1, 2))`
|     variants: [{
>       begin: /=/,
|       end: /;/
|     }, {

ERROR in ./node_modules/highlight.js/lib/languages/c-like.js 138:13
Module parse failed: Unexpected token (138:13)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
 * ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
|     // `return some()`, `else if()`, `(x*sum(1, 2))`
|     variants: [{
>       begin: /=/,
|       end: /;/
|     }, {

And so on...


Solution

Additional comments

I purchased in August and installed the product. I developed until now and everything worked fine. I guess its because i installed all dependencies before.

Now, to deploy, we tried a new install on diffrent servers and then we recognized the issue. After trying to solve and reproduce i also crashed my project and its not working anymore with the same errors.

@sajadevo
Copy link
Collaborator

This issue is fixed on v2.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants