[GH-ISSUE #1744] npm install => npm run dev ,problems occurred。 npm 7.20.0 ,help me!!! #550

Closed
opened 2026-03-16 15:55:45 +03:00 by kerem · 10 comments
Owner

Originally created by @MeBetterMan on GitHub (Jul 19, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1744

Originally assigned to: @AndrewBastin on GitHub.

`` ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\ace.js as it exceeds the max of 500KB.

ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\worker-javascript.js as it exceeds the max of 500KB.

ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\worker-xquery.js as it exceeds the max of 500KB.

ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\mode-php.js as it exceeds the max of 500KB.

ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\mode-php_laravel_blade.js as it exceeds the max of 500KB.`
Snipaste_2021-07-19_17-28-46
Snipaste_2021-07-19_17-28-59

`

Originally created by @MeBetterMan on GitHub (Jul 19, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1744 Originally assigned to: @AndrewBastin on GitHub. `` ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\ace.js as it exceeds the max of 500KB. ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\worker-javascript.js as it exceeds the max of 500KB. ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\worker-xquery.js as it exceeds the max of 500KB. ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\mode-php.js as it exceeds the max of 500KB. ERROR [BABEL] Note: The code generator has deoptimised the styling of D:\github-projects\hoppscotch\node_modules\ace-builds\src-noconflict\mode-php_laravel_blade.js as it exceeds the max of 500KB.` ![Snipaste_2021-07-19_17-28-46](https://user-images.githubusercontent.com/13814832/126137813-ec85a446-0396-4e27-aed6-c2773a321ac8.jpg) ![Snipaste_2021-07-19_17-28-59](https://user-images.githubusercontent.com/13814832/126137878-65f5bc70-277c-4dc6-bdbd-33d29eb4b5a5.jpg) `
kerem 2026-03-16 15:55:45 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@liyasthomas commented on GitHub (Jul 19, 2021):

Can you delete the node cache along with node_modules folder and then run npm i again.

  1. rm -rf node_modules
  2. npm i
  3. npm run dev

Let me know if this solved your issue.

<!-- gh-comment-id:882404459 --> @liyasthomas commented on GitHub (Jul 19, 2021): Can you delete the node cache along with `node_modules` folder and then run `npm i` again. 1. `rm -rf node_modules` 2. `npm i` 3. `npm run dev` Let me know if this solved your issue.
Author
Owner

@MeBetterMan commented on GitHub (Jul 19, 2021):

i delete all folders,and regit Hoppscotch . useless . i tried two days . hopeless.

<!-- gh-comment-id:882516357 --> @MeBetterMan commented on GitHub (Jul 19, 2021): i delete all folders,and regit Hoppscotch . useless . i tried two days . hopeless.
Author
Owner

@MeBetterMan commented on GitHub (Jul 19, 2021):

Snipaste_2021-07-19_17-28-46
happens always on Win7. how to solve it?

<!-- gh-comment-id:882530428 --> @MeBetterMan commented on GitHub (Jul 19, 2021): ![Snipaste_2021-07-19_17-28-46](https://user-images.githubusercontent.com/13814832/126164039-95bb8f47-6f22-4296-ba5c-5dbe1c485356.jpg) happens always on Win7. how to solve it?
Author
Owner

@liyasthomas commented on GitHub (Jul 19, 2021):

Please share the screenshot of the browser console log (press F12 for Chrome browser).

Also, let me know the system's memory, processor, and RAM specifications.

<!-- gh-comment-id:882532118 --> @liyasthomas commented on GitHub (Jul 19, 2021): Please share the screenshot of the browser console log (press F12 for Chrome browser). Also, let me know the system's memory, processor, and RAM specifications.
Author
Owner

@MeBetterMan commented on GitHub (Jul 19, 2021):

Snipaste_2021-07-19_21-11-13
Snipaste_2021-07-19_17-28-46
other users encountered the problems before

<!-- gh-comment-id:882536117 --> @MeBetterMan commented on GitHub (Jul 19, 2021): ![Snipaste_2021-07-19_21-11-13](https://user-images.githubusercontent.com/13814832/126165053-2e5b59ae-a85d-454a-9da9-aca84e7f87d4.jpg) ![Snipaste_2021-07-19_17-28-46](https://user-images.githubusercontent.com/13814832/126165058-54c2bf73-8dbb-46f8-a396-a43579b941a6.jpg) other users encountered the problems before
Author
Owner

@liyasthomas commented on GitHub (Jul 19, 2021):

Thanks for sharing the screenshot, we're looking into this issue.

Thanks for your patience.

<!-- gh-comment-id:882538038 --> @liyasthomas commented on GitHub (Jul 19, 2021): Thanks for sharing the screenshot, we're looking into this issue. Thanks for your patience.
Author
Owner

@MeBetterMan commented on GitHub (Jul 19, 2021):

Mac OS,same problem.
1
2

<!-- gh-comment-id:882544551 --> @MeBetterMan commented on GitHub (Jul 19, 2021): Mac OS,same problem. <img width="1437" alt="1" src="https://user-images.githubusercontent.com/13814832/126166572-ddfd4744-c910-4164-a76b-222ce1b78208.png"> <img width="1439" alt="2" src="https://user-images.githubusercontent.com/13814832/126166590-7bb85995-f2fb-4902-8479-c614c8e73468.png">
Author
Owner

@liyasthomas commented on GitHub (Jul 19, 2021):

Hi @MeBetterMan, thank you for your patience.

I was able to reproduce your issue. It has been due to the incorrect setup of environment variables for the local development server.

In the developing instructions section, there's a step 0: Update .env.example file found in repository's root directory with your own keys and rename it to .env.

Please rename .env.example file found in root director to .env and restart the local server to fix this issue.

Let me know if this solves your issue.

<!-- gh-comment-id:882651592 --> @liyasthomas commented on GitHub (Jul 19, 2021): Hi @MeBetterMan, thank you for your patience. I was able to reproduce your issue. It has been due to the incorrect setup of environment variables for the local development server. In the [developing instructions](https://github.com/hoppscotch/hoppscotch#developing) section, there's a step 0: Update `.env.example` file found in repository's root directory with your own keys and rename it to `.env`. Please rename `.env.example` file found in root director to `.env` and restart the local server to fix this issue. Let me know if this solves your issue.
Author
Owner

@MeBetterMan commented on GitHub (Jul 20, 2021):

ok ,solve the browser ‘’logEvent‘’ problem ,although the ‘’it exceeds the max of 500KB.‘’Error still exists

<!-- gh-comment-id:883089445 --> @MeBetterMan commented on GitHub (Jul 20, 2021): ok ,solve the browser ‘’logEvent‘’ problem ,although the ‘’it exceeds the max of 500KB.‘’Error still exists
Author
Owner

@AndrewBastin commented on GitHub (Jul 20, 2021):

That error won't cause any issues if you run it actually. It is just an error from the optimizer and ace-editor code just messing up. You should still be able to access the site successfully.

<!-- gh-comment-id:883772184 --> @AndrewBastin commented on GitHub (Jul 20, 2021): That error won't cause any issues if you run it actually. It is just an error from the optimizer and ace-editor code just messing up. You should still be able to access the site successfully.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#550
No description provided.