Closed apollo13 closed 3 years ago
I'm using npm version 6.14.8. The test runner on GH action uses npm version 6.14.15.
Maybe, in newer versions of npm, you have to run npm install --also=dev
.
Btw., your npm (version 8) comes with which version of NodeJS?
The nodeversion is whatever Fedora 35 delivers, according to node --version
it is 16.11.1. Installing dev dependencies didn't change anything (up to date, audited 200 packages in 1s
). I'll see if I can get another npm version somewhere -- that said I indeed have no pegjs in my node_modules
only peggy
which does indeed have lib/compiler/asts.js
Got it running via the following diff:
diff --git a/package.json b/package.json
index c8da43e..3e58fef 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"sass": "^1.32.12",
"tailwindcss": "^2.2.15",
"tom-select": "^1.7.8",
- "ts-pegjs": "^0.3.1",
+ "ts-pegjs": "^1.0.0",
"tslib": "^2.2.0",
"typescript": "^4.1.4",
"uglify-js": "^3.13.8",
Now it imports from peggy instead.
Yes, peggy
is the successor of pegjs, which seems to have been abandoned.
OK, I will adopt the GH runner. Thanks for your efforts!
Please retest with 2cf143f I believe that this should have fixed your issues.
Jupp that also seems to fix it, thanks! :+1:
I wanted to try out the demo and during tag-attributes I get the following:
My npm version (if relevant) is 8.0.0, aside from that I simply followed the instructions.
npm install
looked relatively normal:What can I try, any other information I can provide you with (sorry I have literally close to zero ideas on how to fix JS issues :D)?