Comments (13)
- you can ignore this error
- You would be better running all this command via
git bash
from book.phpguide.co.il.
OK.
In the 4th step I get this.
from book.phpguide.co.il.
This means that npm install
has failed and ignoring it was a bad idea
after all ;)
Try to run everything through git bash over again.
from book.phpguide.co.il.
Oops. 😆
I tried. It didn't work.
from book.phpguide.co.il.
I think you can rerun again npm install
. It should skip installing already installed modules, such as dce
and thus you'll not have the same error on the second run.
from book.phpguide.co.il.
0 info it worked if it ends with ok
1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 error install Couldn't read dependencies
5 error Error: ENOENT, open 'C:\Users\Orel Ben-Yair\package.json'
6 error If you need help, you may report this log at:
6 error <http://github.com/isaacs/npm/issues>
6 error or email it to:
6 error <[email protected]>
7 error System Windows_NT 6.1.7601
8 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
9 error cwd C:\Users\Orel Ben-Yair
10 error node -v v0.10.19
11 error npm -v 1.3.11
12 error path C:\Users\Orel Ben-Yair\package.json
13 error code ENOENT
14 error errno 34
15 verbose exit [ 34, true ]
from book.phpguide.co.il.
You ran it in your home directory, not in the directory where you cloned
the repo to.
In the repository directory you should find a file called package.json
which the install script uses.
This file does not exist in your home directory
from book.phpguide.co.il.
Again, it returns me that error. And when I ran node app
in dce/dce
, it throwed an exception, except this time it was about not finding a different module - lazy-require
.
from book.phpguide.co.il.
Eh ;(
Can you try to run the installer multiple times until one time it finishes
without errors ?
Most probably it just getting stack on the post-install scripts for some
packages, which wouldn't run on Win.
from book.phpguide.co.il.
It didn't work.
Looks like the problem is with that file. It's pretty short, but I don't unserstand in those stuff, so could you take a look?
Edit: I think it's because the mv
command. It works only on Unix-based systems, doesn't it?
Another Edit: Looks like it creates a foled in /node_modules
named docpad-plugin-dce
, downloads the plugin and stores it there. (Because I changes something in the /dce/dce
folder, and it wasn't the same there.
So modifying the dce/dce
won't help.
from book.phpguide.co.il.
Fixed. Please delete your local copy and pull the new changes.
This time npm install
should work perfectly.
Plus there is a launcher run.bat
which you can use after running npm install
from book.phpguide.co.il.
It didn't work. 😓
The debug file is really long, so I'm not going to add it here...
Edit: Just a sec; I'm trying over again.
from book.phpguide.co.il.
It works just fine now. I just forgot to merge the changes earlier. 😆
Thanks! 😄
from book.phpguide.co.il.
Related Issues (4)
- Installing (after the second step) HOT 3
- Book Format HOT 2
- "PHP insallation" chapter issue HOT 2
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 book.phpguide.co.il.