Comments (10)
I tried to install using the install.bat
. I also tried to install it using the manual way with npm install
, but also without result. This was the output of npm install
:
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
added 244 packages in 20.795s
from ld-r.
When I try to install webpack and webpack-dev-server locally, I get the following:
C:\Users\USER-NAME\Documents\LD-R\ld-r5>npm install --no-optional --save-dev webpack webpack-dev-server
npm WARN [email protected] requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.
up to date in 13.284s
But in the node_modules folder, there is still no webpack or webpack-dev-server
from ld-r.
it seems to be a general npm issue on Windows rather than LD-R issue! Need some time to reproduce it on a Windows machine.
from ld-r.
The strange thing is, that with LD-R v1.1.9, I was able to run the app in dev mode (webpack and webpack-dev-server were installed correctly then)...
Anyway, I did a workaround: by manually copying the node_modules folder from the older LD-R project I had (v1.1.9) I could get it going for now. But this can cause issues for new windows users of course.
from ld-r.
I checked this issue again on a Windows 10 machine and all the node_modules were successfully added. The only issue I noticed was setting the env variable for the build mode on windows which sounds problematic. As I see it can set the env car but cannot retrieve it correctly.
from ld-r.
It's still not solved for my case... This is a list of the packages that are installed in the node_modules folder:
f.txt
The problem occurs for both dev mode as build mode.
from ld-r.
I wanted to give an update on this:
- If I run LD-R on my Mac, it don't give any problems for dev and build mode
- If I want to start using a fresh LD-R clone on my windows 10, it keeps failing on installing the required packages when I run the install script. For some reason, it worked to run LD-R in dev mode earlier on (I think somewhere in January of this year). Any idea on how to proceed on Windows?
P.S. I've found a temporal workaround by just copying the node_modules folder of the older working LD-R instance to the new LD-R. If I do this, I can run LD-R in dev and product mode without any problem (I need the npm run build:windows
command if I want to build it). This clumsy method will probably give some issues regarding to dependencies in the future, I guess?
UPDATE: I already had issues by using this workaround. If I want to start a new LD-R (v1.1.12) by copying the node_modules
folder of an older LD-R project (v1.1.9), I can run the application in dev mode, but none of the buttons of the facet browser do something; I can still run it in build mode without problems...
from ld-r.
@ali1k I have the feeling that it has something to do with my Windows being not able to find the globally installed webpack. If I check the version from the command line, it finds it without problems, but when I run clone LD-R and let it install its packages, it does not add the webpack related packages.
Maybe I can try to install webpack locally, but I don't know if this is possible/recommended for LD-R. If I run npm install webpack --save-dev
(without having a webpack installed globally) it tells me that webpack is already up to date:
C:\Users\USER-NAME\Documents\LD-R\ld-r12>npm install --save-dev webpack
npm notice created a lockfile as package-lock.json. You should commit this file.
up to date in 13.041s
Any ideas on how to proceed regarding a local webpack installation? If it mathers, I use a node version manager called nvm-windows v1.1.6
from ld-r.
@mathib that's weird! maybe it is a problem with the path of Webpack in the Windows.
The best way to resolve the issue is to have a call where we can try different options.
from ld-r.
For anyone interested in my issue: it was related to a NODE_ENV system variable set to 'production'. This made it impossible to install with npm install
the devDependencies such as Webpack and others. I've used this source.
I've changed the NODE_ENV to 'development'. To be certain, I've also checked the npm config get production
and made sure it was set to false (npm config set -g production false
)
@ali1k Thanks for the assistence! Issue can be closed :)
from ld-r.
Related Issues (20)
- deploy on Heroku HOT 1
- Pb with GraphDB HOT 18
- Nesting property categories HOT 1
- Support property chains in reactor.js HOT 9
- Weird Behaviour HOT 2
- working with jena/fuseki HOT 1
- Wrong propertyURI creation while creating the "facets" HOT 1
- SPARQL Editor
- Question on setting base URI when creating a new resource HOT 5
- No users displayed in admin user list HOT 4
- dealing with reading/writing to named graphs and the default graph in GraphDB HOT 3
- Workflow for managing user permissions HOT 1
- property set to isHidden is still visible in detailed view
- blank nodes cannot be viewed as subjects HOT 2
- Default edit access for users HOT 1
- Support JWT to authenticate against GraphDB HOT 1
- Multi Resource Reactor HOT 13
- Debugging HOT 2
- reference to the sparql endpoint for a dataset (Dynamic Configuration) HOT 2
- Label rendering behavior
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 ld-r.