Closed bogdanr closed 4 years ago
Instala la última versión de node y ejecuta de nuevo npm install (asegurándote que la nueva verisón de node ha sustituido a la actual).
As you can see in the bug report I did that. The first package listed by npm list
is angular.
Sorry for my first response in Spanish :)
The error is an unmet peer dependency (UNMET PEER DEPENDENCY grunt@1.0.3) , this type of conflicts are usually due to the use of different node versions to which the project was developed.
I'll recomend you the next steps:
1) Remove node_modules directory inside icestudio or remove icestudio dir and clone from github again. 2) Install latest node.js version https://nodejs.org/dist/v11.6.0/node-v11.6.0-linux-x64.tar.xz (and modify PATH environment variable to use it). 3) From your icestudio clean dir, execute "npm install" 4) After installation succed, execute "npm start"
I hope this help you
I installed node 11.6.0, did a fresh clone and ran npm install
but when I run npm start
I still get the previous message. In addition to that, now it also tells me it can't find the extract-zip
module.
Try to execute:
npm install extract-zip --save
and then:
npm start
Now it looks exactly like the first error message.
The problem resides in your local installation, probably old packages override the new ones. Try next insice icestudio dir:
npm cache clean
npm update -g
npm install
npm start
This doesn't really do anything because I had a clean install.
can you describe the steps you follow from scratch and the exact commands? which linux distribution or mac do you have?
I am using my own distro and building nodejs from source. Yesterday when we did all the test I deleted all node_modules and related things so it would all be in a clean environment.
I am not doing anything fancy, just:
1 git clone git@github.com:FPGAwars/icestudio.git
2 cd icestudio/
3 node --version
4 npm install
5 npm start
Obviously, after I did this I also did a npm install extract-zip --save
because extract-zip was reported missing and then I tried another npm start
which ended up looking like the first error message.
Since you do not work on a standard distribution, I do not know how to help you.
Try to do something, sometimes with similar dependency problems like this, solved it:
npm install -g npm-install-missing
and then insice icestudio dir:
npm-install-missing
If previously doesn't work, remove icestudio dir , download this script and execute:
this install icestudio and try to launch it. GEnerating a install-report.txt file inside the icestudio directory.
When finished attach your report and i try to find the problem.
you can try the new 0.5.1 dev branch with node 10.17.x installed.
When I run
npm start
I receive this error:This is my npm list:
I have npm 6.4.1 and node 8.12