Giter Site home page Giter Site logo

Comments (8)

elf-pavlik avatar elf-pavlik commented on June 26, 2024 1

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.

thhck avatar thhck commented on June 26, 2024 1

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.

elf-pavlik avatar elf-pavlik commented on June 26, 2024

Did you add it to index.ts? The component generator needs to find all the classes there.

from communitysolidserver.

thhck avatar thhck commented on June 26, 2024

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.

joachimvh avatar joachimvh commented on June 26, 2024

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.

thhck avatar thhck commented on June 26, 2024

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.

thhck avatar thhck commented on June 26, 2024

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.

joachimvh avatar joachimvh commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.