Open h657070128 opened 7 years ago
@h657070128 I commented this include: ['node_modules/rxjs/**'],
line in integration/build.js
and this solved the problem.
I have a similar issue. I cloned the project, ran npm install then npm run integration.
npm ERR! code ENOLOCAL npm ERR! Could not install from "../dist" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tester/.npm/_logs/2017-08-24T23_07_42_959Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! quickstart-lib@1.0.0 preintegration: npm run build && cd integration && npm run clean && npm install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the quickstart-lib@1.0.0 preintegration script.
to resolve the aot build issue, downgrade in integration/package.json
following package:
"rollup-plugin-node-resolve": "2.0.0",
https://github.com/rollup/rollup-plugin-node-resolve/issues/94 https://github.com/theatersoft/client/commit/2202137397fd71bfea3c9e5247f7dc29d5ac2a27
"../dist"
issue:I think npm introduced in some recent version to symlink locally installed packages. This is the issue here. What I did in integration/package.json
, I changed the clean
target to following:
"clean": "rimraf aot/ dist/",
Note: this works on current versions of npm, but might break the clean up on older versions.
@mmmichl downgrading rollup-plugin-node-resolve worked for me. I checked also the bundle.js under integration and it is generated. So maybe it is the only necessary point to fix the issue?
Thank for your response, but in the meantime I switched to the angular CLI for lib development.
Ok, i was thinking about switching to this seed project from angular cli lib devevelopment :D
Hi, sorry for bothering again. I cloned the project and did not make any changes. After I run
npm install
, I am trying to runnpm run integration
to do an e2e test. But it failed. I looked into it and foundbundle.js
underintegration/dist
is not generated. Why? I found there is a warning during rollup:I am not sure if it's preventing the code being packaged. I am wondering are you guys using this seed can run it successfully?