Skip to content

Commit

Permalink
ci(rollup): disable npm caching to fix build error
Browse files Browse the repository at this point in the history
Build error:

```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: @rollup/plugin-typescript@2.1.0
npm ERR! node_modules/@rollup/plugin-typescript
npm ERR!   dev @rollup/plugin-typescript@"^6.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev @rollup/plugin-typescript@"^6.1.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: rollup@2.33.1
npm ERR! node_modules/rollup
npm ERR!   peer rollup@"^2.14.0" from @rollup/plugin-typescript@6.1.0
npm ERR!   node_modules/@rollup/plugin-typescript
npm ERR!     dev @rollup/plugin-typescript@"^6.1.0" from the root project
```

https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#caching-with-npm
  • Loading branch information
remarkablemark committed Nov 8, 2020
1 parent 56741e9 commit bce9f4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: node_js
node_js:
- stable
cache:
npm: false
install:
- npm install
script:
Expand Down

0 comments on commit bce9f4b

Please sign in to comment.