-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different behavior on local and global angular-cli of the same version #6453
Comments
@yaahor can you try with Also, when you run |
Hello Impossible to use flag --prod
|
@yaahor @codegastudio Is this still an issue ? Was able to follow your instructions with ng CLI 1.2.7, like so: ng new motorway
cd motorway
npm install autobahn --save
npm install @types/autobahn --save Both Please confirm the issue is resolved by now. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Local angular-cli version (node_modules\.bin\ng -v):
Global angular-cli version (ng -v):
Repro steps.
Use "autobahn" in project.
If run
ng build -prod
, you can see that your project is built successfully.If run
node_modules\.bin\ng build -prod
, error will be thrown.The log given by the failure.
Result of running
node_modules\.bin\ng build -prod -sm
:Desired functionality.
The same behavior of global and local angilar-cli of the same version
Mention any other details that might be useful.
"cbor" package is dependency of "autobahn".
Property "target" is set to "es5" in tsconfig.json.
tsconfig.app.json:
tsconfig.json
I have solved issue by using previous version of autobahn (0.11.2), but I can not understand why building by global ang local angular-cli of the same version behave differently.
The text was updated successfully, but these errors were encountered: