You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which packages do you think might be impacted by the bug ?
solid-client-authn-browser
solid-client-authn-node
solid-client-authn-core
oidc-client-ext
Other (please specify): I assume this is a core issue with the entire repository
Bug description
There seem to be several issues related to installing the package on Windows from the source. Last time I cloned and installed from the repo was version 1.16.0 at which point I had no issues. So the problem must have been introduced somewhere between then and 1.17.1.
When running npm ci in the root of the project on Windows, the error Error: Cannot find module '@nx/nx-win32-x64-msvc' is thrown and the build is cancelled. Looking around this seems to be a consequence of not having a specific Windows redistributable installed, but after making sure it was installed I still have the same issue. I discovered that removing the package-lock.json and running npm i to generate a new one did solve the problem mostly, so it might be an issue with an outdated dependency somewhere.
I say mostly, because after that one of the build steps still fails with the following error:
× @inrupt/demo-app-authn-browser:build
> @inrupt/[email protected] build
> ASSET_PATH="/demo/" webpack --mode productiond for 10 projects
'ASSET_PATH' is not recognized as an internal or external command,
operable program or batch file.
which has to do with the different way Windows sets environment variables. If necessary, something like cross-env can probably be used to fix this. This is the same issue as described in #3116.
Search terms you've used
Windows
Impacted package
Which packages do you think might be impacted by the bug ?
Bug description
There seem to be several issues related to installing the package on Windows from the source. Last time I cloned and installed from the repo was version 1.16.0 at which point I had no issues. So the problem must have been introduced somewhere between then and 1.17.1.
When running
npm ci
in the root of the project on Windows, the errorError: Cannot find module '@nx/nx-win32-x64-msvc'
is thrown and the build is cancelled. Looking around this seems to be a consequence of not having a specific Windows redistributable installed, but after making sure it was installed I still have the same issue. I discovered that removing thepackage-lock.json
and runningnpm i
to generate a new one did solve the problem mostly, so it might be an issue with an outdated dependency somewhere.I say mostly, because after that one of the build steps still fails with the following error:
which has to do with the different way Windows sets environment variables. If necessary, something like
cross-env
can probably be used to fix this. This is the same issue as described in #3116.See also CommunitySolidServer/tutorials#5 for additional comments which is how I found this.
To Reproduce
git clone https://github.com/inrupt/solid-client-authn-js.git
cd solid-client-authn-js
npm ci
Environment
Please run
npx envinfo --system --npmPackages --binaries --npmGlobalPackages --browsers
in your project folder and paste the output here:
Note that this is the output after successfully installing by removing the
package-lock.json
.The text was updated successfully, but these errors were encountered: