Comments (8)
Please ignore my previous comment; I missed that it worked fine before.
Searching for the error, I find something about typescript and eslint https://stackoverflow.com/questions/76996326/parsing-error-deprecationerror-originalkeywordkind-has-been-deprecated-since
from communitysolidserver.
Ok I got it,
I was having the issue on 7.0.0 and and merged 7.0.5 before posting the issue.
I believe something went wront when merging 7.0.5 to the feature branch, because
rm -rf node_modules && npm cache clean -f && npm i
solved all the previous mentioned errors
Thanks @joachimvh @elf-pavlik
from communitysolidserver.
Did you add it to index.ts
? The component generator needs to find all the classes there.
from communitysolidserver.
by "it" you mean requestParser
?
I can see that it is imported in other classes such as storage descriptin so it should already be requestParser imported in the index.ts and in deed I can see it here:
from communitysolidserver.
If everything worked before adding that one it makes me think that you did not build after the changes, or there was an error during the build.
You say that got this error when running npm run build
, but is that correct? Because I would expect this error when trying to run the server with the configuration. The build process does not interact with your custom config files. If you did run npm run build
first, did it give any errors/warnings about the build process?
from communitysolidserver.
You say that got this error when running npm run build, but is that correct?
You are right, the error comes from npm run start
right after runing npm run build
did it give any errors/warnings about the build process?
In deed I have the following error during npm run build
Could not parse file .../CommunitySolidServer/dist/identity/FedcmHttpHandler, invalid syntax at line undefined, column undefined. Message: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead.
However I'm not using originalKeywordKind
in FedcmHttpHandler
from communitysolidserver.
npm run build
full log:
> npm run build
> @solid/[email protected] build
> npm run build:ts && npm run build:components
> @solid/[email protected] build:ts
> tsc
> @solid/[email protected] build:components
> componentsjs-generator -s src -c dist/components -r css -i .componentsignore
2024-04-16T14:34:55.977Z [Components.js] info: Generating components for 1 package
=============
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.8.0
YOUR TYPESCRIPT VERSION: 5.4.5
Please only submit bug reports when using the officially supported version.
=============
Could not parse file .../CommunitySolidServer/dist/identity/FedcmHttpHandler, invalid syntax at line undefined, column undefined. Message: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead.
from communitysolidserver.
That error is what is preventing components.js from building the configuration that contains your new parameter. Can't immediately say why it is being thrown though, would have to investigate.
So if you remove the 4 lines that you marked in your initial comment you are not running into this issue? I would not have expected that to have an impact.
from communitysolidserver.
Related Issues (20)
- Static root applies to both root of server and root of pods for subdomain HOT 3
- "Unable to find storage root" for server root under subdomain configuration HOT 3
- Can't preview markdown file in Penny as they get text/turle type instead of text/plain HOT 6
- Error when running the solid server in multithread mode HOT 2
- Unable to discover ACL resource when only having Control permission HOT 1
- Allow new path placeholders to be registered
- setup and run prettier before eslint HOT 2
- Handle unknown content-types correctly with a file backend HOT 1
- Non-root container metadata templates are ignored with memory backend HOT 1
- `BaseIdentifierStrategy.getParentContainer` returns incorrect results for identifiers with a query parameter
- Server doesn't start when using configuration with redis locker with a Maximum call stack size exceeded error. HOT 1
- Won't work with Upper Case Pod name
- Duplicate JTI error for pods/WebIDs containing Japanese characters
- Server leaves spurious .meta files with a content-length triple HOT 1
- Document using japanese characters returns 401 on GET using in-memory storage
- Unable to extract the subscription server from the community solid server. HOT 3
- The server does not obey the quality values in a GET request for certain quality values HOT 2
- Crash saying lock file missing HOT 1
- Creating WebIDs and Pods via node.js results in 403 Forbidden HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from communitysolidserver.