node-packer icon indicating copy to clipboard operation
node-packer copied to clipboard

Example web application compilation gives error: package.json should exist

Open hardywu opened this issue 7 years ago • 1 comments

Steps to produce the error:

git clone --depth 1 https://github.com/eggjs/examples.git
cd examples/helloworld
npm install
nodec node_modules/.bin/egg-bin
cd ../
./helloworld/a.out dev

The output a.out will look for web app's source code first, e. g. package.json.

⚠️  Error: egg is not found in /srv/examples/node_modules
⚠️  Command Error, enable `DEBUG=common-bin` for detail

hardywu avatar May 03 '18 03:05 hardywu

+1

So that means nodec only compiled the node and egg-bin? Not compile the web source code?

See also this

wind13 avatar Aug 10 '18 07:08 wind13