Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

no @shexjs module #130

Open
scenaristeur opened this issue Jul 20, 2020 · 0 comments
Open

no @shexjs module #130

scenaristeur opened this issue Jul 20, 2020 · 0 comments

Comments

@scenaristeur
Copy link

scenaristeur commented Jul 20, 2020

Env Windows 10, node -v : 12.18.1

Hi, wanting to add sdk-forms as dependency of a project, & running
`npm install --save @inrupt/solid-sdk-forms`

I got

  ERROR in ./node_modules/@inrupt/solid-sdk-forms/dist/solid-forms.es5.js
    Module not found: Error: Can't resolve '@shexjs/core' in 'C:\Users\Smag\Documents\dev\shighl-elements\node_modules\@inrupt\solid-sdk-forms\dist'
     @ ./node_modules/@inrupt/solid-sdk-forms/dist/solid-forms.es5.js 2:0-36 9534:34-42 9538:54-62 9539:47-55 9539:90-98 9543:23-31 9543:50-58 9543:79-87
     @ ./src/shighl-crud.js

    ERROR in ./node_modules/@inrupt/solid-sdk-forms/dist/solid-forms.es5.js
    Module not found: Error: Can't resolve '@shexjs/parser' in 'C:\Users\Smag\Documents\dev\shighl-elements\node_modules\@inrupt\solid-sdk-forms\dist'
     @ ./node_modules/@inrupt/solid-sdk-forms/dist/solid-forms.es5.js 1:0-40 9505:29-39 9533:37-47
     @ ./src/shighl-crud.js

And no @shexjs folder in /node_modules, perharps @shexjs must migrate from dev-dep to dep in package.json or run a "npm build " at the end of install?

I tried to install @shexjs/core & @shexjs/parser manually as dep of my project, but now, when i run 'npm run dev' with a webpack conf, i got


   ERROR in ./node_modules/@shexjs/parser/lib/ShExJison.js
   Module not found: Error: Can't resolve 'fs' in 'C:\Users\Smag\Documents\dev\shighl-elements\node_modules\@shexjs\parser\lib'
    @ ./node_modules/@shexjs/parser/lib/ShExJison.js 1852:17-30
    @ ./node_modules/@shexjs/parser/shex-parser.js
    @ ./node_modules/@inrupt/solid-sdk-forms/dist/solid-forms.es5.js
    @ ./src/shighl-crud.js
i 「wdm」: Failed to compile.
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant