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

Project running error #99

Open
Henry667 opened this issue Sep 3, 2023 · 2 comments
Open

Project running error #99

Henry667 opened this issue Sep 3, 2023 · 2 comments

Comments

@Henry667
Copy link

Henry667 commented Sep 3, 2023

Hello all,
I want to ran the jsinfo project locally in my window machine, after following all commands from this page Page .

When i ran this command ./edit en. I got following errors

[2023-09-03T13:38:02.548Z]  INFO: tutorialImporter/7160 on SunnyNegi: syncArticle C:\Users\91964\jsinfio\server\repo\en.javascript.info\1-js\02-first-steps\13-while-for
./tmp/en/styles.styl
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/stylus-loader/index.js):
TypeError: Class constructor Visitor cannot be invoked without 'new'
    at new ImportVisitor (C:\Users\91964\jsinfio\server\node_modules\stylus-loader\lib\listimports.js:10:11)
    at listImports (C:\Users\91964\jsinfio\server\node_modules\stylus-loader\lib\listimports.js:72:23)
    at C:\Users\91964\jsinfio\server\node_modules\stylus-loader\lib\pathcache.js:295:15
[19:08:02]     at tryCatchReject (C:\Users\91964\jsinfio\server\node_modules\when\lib\makePromise.js:840:30)
'webpack' errored after 4.65 s
    at runContinuation1 (C:\Users\91964\jsinfio\server\node_modules\when\lib\makePromise.js:799:4)
    at Fulfilled.when (C:\Users\91964\jsinfio\server\node_modules\when\lib\makePromise.js:590:4)
[19:08:02]     at Pending.run (C:\Users\91964\jsinfio\server\node_modules\when\lib\makePromise.js:481:13)
Error: ./tmp/en/styles.styl
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/stylus-loader/index.js):
TypeError: Class constructor Visitor cannot be invoked without 'new'
@Antipula
Copy link

Antipula commented Sep 6, 2023

Hi guys. I have a similar error.
nodejs 16, 18, 20
Debian 12, Windows 10.

@mostafa-nematpour
Copy link

I have this problem too

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

3 participants