Error: Can't resolve 'babel/polyfill' #11

Closed
opened 2017-07-11 08:27:50 +00:00 by Toso82 · 2 comments
Toso82 commented 2017-07-11 08:27:50 +00:00 (Migrated from github.com)

I try to use this library in my Angular 4 project. I import library in typescript

import { Equation } from "equations";

It is right?

with ng build give me this error:

ERROR in .//equations/dist/index.js
Module not found: Error: Can't resolve 'babel/polyfill' in 'C:\Users\Giacomo\Documents\Visual Studio 2017\Projects\test\my-app\node_modules\equations\dist'
@ ./
/equations/dist/index.js 13:0-25
@ ./src/app/app.component.ts
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi ./src/main.ts

I try to use this library in my Angular 4 project. I import library in typescript import { Equation } from "equations"; It is right? with ng build give me this error: ERROR in ./~/equations/dist/index.js Module not found: Error: Can't resolve 'babel/polyfill' in 'C:\Users\Giacomo\Documents\Visual Studio 2017\Projects\test\my-app\node_modules\equations\dist' @ ./~/equations/dist/index.js 13:0-25 @ ./src/app/app.component.ts @ ./src/app/app.module.ts @ ./src/main.ts @ multi ./src/main.ts
mdibaiee commented 2017-07-11 08:57:41 +00:00 (Migrated from github.com)

@Toso82 Hi,

could you please try with the latest version? equations@1.3.6

@Toso82 Hi, could you please try with the latest version? `equations@1.3.6`
Toso82 commented 2017-07-11 09:06:45 +00:00 (Migrated from github.com)

@mdibaiee Hi,
With update compile well thanks.

@mdibaiee Hi, With update compile well thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: thereadme/Equation.js#11
No description provided.