Coder Social home page Coder Social logo

Comments (9)

bluefox1688 avatar bluefox1688 commented on July 17, 2024 1

直接使用 cnpm 可能会导致依赖不正确。强烈建议给 npm 设置 taobao 的 registry。
npm install --registry=https://registry.npm.taobao.org

如果你遇到 $t 报错问题,先删除 node_modules 再重装依赖。

from vue-cli-multi-page.

CCCpan avatar CCCpan commented on July 17, 2024

谢谢大神回复,我再试一下你的方法 ,再求一个帮组,我对webpack,express不熟悉,捣鼓配置一直出错,楼主能不能出一个简洁版的架子 啊,不要测试啊什么的,就这些(现在不用这个,也用不来...),非常感谢
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e"

from vue-cli-multi-page.

CCCpan avatar CCCpan commented on July 17, 2024

都是睡不着的人~!~

from vue-cli-multi-page.

bluefox1688 avatar bluefox1688 commented on July 17, 2024

这几个unit e2e test你不用就行了,不影响你构建的

from vue-cli-multi-page.

alwaysloseall avatar alwaysloseall commented on July 17, 2024

我也遇到了这个问题 安装的时候会抛错 不知道是什么原因删掉node_modules 再重装就可以了
而且在一台电脑上 运行npm run dev就正常的,另一台电脑就会出现let关键字报错的情况
望解决

from vue-cli-multi-page.

asvue avatar asvue commented on July 17, 2024

cnpm 说实话经常会下载失败,yarn设了淘宝源,也并没有好转,推荐每次cnpm i 后在npm i查找下有没有没下载的

from vue-cli-multi-page.

CCCpan avatar CCCpan commented on July 17, 2024

新建文件夹必须要重新run dev么?

from vue-cli-multi-page.

bluefox1688 avatar bluefox1688 commented on July 17, 2024

是的,新建页面必须要npm run dev

from vue-cli-multi-page.

CCCpan avatar CCCpan commented on July 17, 2024

我引入import mui from 'assets/lib/mui/mui.min.js';
报错Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them

网上说是严格模式,网上给的方法没能解决
请问这个怎么处理啊

from vue-cli-multi-page.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.